コード例 #1
0
 @Override
 public void indexDrop(KernelStatement state, IndexDescriptor descriptor)
     throws DropIndexFailureException {
   state.locks().acquireExclusive(ResourceTypes.SCHEMA, schemaResource());
   schemaWriteDelegate.indexDrop(state, descriptor);
 }
コード例 #2
0
 @Override
 public void indexDrop(KernelStatement state, IndexDescriptor descriptor)
     throws DropIndexFailureException {
   state.locks().acquireSchemaWriteLock();
   schemaWriteDelegate.indexDrop(state, descriptor);
 }