@Override
 public Iterator<IndexDescriptor> indexesGetAll(KernelStatement state) {
   state.locks().acquireShared(ResourceTypes.SCHEMA, schemaResource());
   return schemaReadDelegate.indexesGetAll(state);
 }
Ejemplo n.º 2
0
 @Override
 public Iterator<IndexDescriptor> indexesGetAll(KernelStatement state) {
   state.locks().acquireSchemaReadLock();
   return schemaReadDelegate.indexesGetAll(state);
 }