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