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