コード例 #1
0
 @Override
 public Iterator<IndexDescriptor> indexesGetForLabel(KernelStatement state, int labelId) {
   state.locks().acquireShared(ResourceTypes.SCHEMA, schemaResource());
   return schemaReadDelegate.indexesGetForLabel(state, labelId);
 }
コード例 #2
0
 @Override
 public Iterator<IndexDescriptor> indexesGetForLabel(KernelStatement state, int labelId) {
   state.locks().acquireSchemaReadLock();
   return schemaReadDelegate.indexesGetForLabel(state, labelId);
 }