@Override public void dropIndex(String name) { delegate.dropIndex(name); }
@Override public void dropIndex(String name) { delegate.dropIndex(name); }
/** * The full text index is currently located in the same namespace as the * lexicon relation. However, the distributed zookeeper locks (ZLocks) * are not reentrant. Therefore this method is overridden to NOT acquire * the ZLock for the namespace of the relation when destroying the full * text index -- that lock is already held for the same namespace by the * {@link LexiconRelation}. */ @Override public void destroy() { if (log.isInfoEnabled()) log.info(""); assertWritable(); final String name = getNamespace() + "." + NAME_SEARCH; getIndexManager().dropIndex(name); }
/** * The full text index is currently located in the same namespace as the * lexicon relation. However, the distributed zookeeper locks (ZLocks) * are not reentrant. Therefore this method is overridden to NOT acquire * the ZLock for the namespace of the relation when destroying the full * text index -- that lock is already held for the same namespace by the * {@link LexiconRelation}. */ @Override public void destroy() { if (log.isInfoEnabled()) log.info(""); assertWritable(); final String name = getNamespace() + "." + NAME_SUBJ_SEARCH; getIndexManager().dropIndex(name); }
/** * The full text index is currently located in the same namespace as the * lexicon relation. However, the distributed zookeeper locks (ZLocks) * are not reentrant. Therefore this method is overridden to NOT acquire * the ZLock for the namespace of the relation when destroying the full * text index -- that lock is already held for the same namespace by the * {@link LexiconRelation}. */ @Override public void destroy() { if (log.isInfoEnabled()) log.info(""); assertWritable(); final String name = getNamespace() + "." + NAME_SEARCH; getIndexManager().dropIndex(name); }
/** * The full text index is currently located in the same namespace as the * lexicon relation. However, the distributed zookeeper locks (ZLocks) * are not reentrant. Therefore this method is overridden to NOT acquire * the ZLock for the namespace of the relation when destroying the full * text index -- that lock is already held for the same namespace by the * {@link LexiconRelation}. */ @Override public void destroy() { if (log.isInfoEnabled()) log.info(""); assertWritable(); final String name = getNamespace() + "." + NAME_SUBJ_SEARCH; getIndexManager().dropIndex(name); }
public void destroy() { super.destroy(); if (getIndex() != null) { getIndexManager().dropIndex(getNamespace() + indexName); log.info("Dropped index."); } }
public void destroy() { // drop indices. for (String name : getIndexNames()) { getIndexManager().dropIndex(name); } super.destroy(); }
public void destroy() { super.destroy(); if (getIndex() != null) { getIndexManager().dropIndex(getNamespace() + indexName); log.info("Dropped index."); } }
public void destroy() { if (log.isInfoEnabled()) log.info(""); assertWritable(); final IIndexManager indexManager = getIndexManager(); final IResourceLock resourceLock = acquireExclusiveLock(); try { indexManager.dropIndex(getNamespace() +"."+ NAME_SEARCH); } finally { unlock(resourceLock); } }
public void destroy() { if (log.isInfoEnabled()) log.info(""); assertWritable(); final IIndexManager indexManager = getIndexManager(); final IResourceLock resourceLock = acquireExclusiveLock(); try { indexManager.dropIndex(getNamespace() +"."+ NAME_SEARCH); } finally { unlock(resourceLock); } }
public void destroy() { // drop indices. for (String name : getIndexNames()) { getIndexManager().dropIndex(name); } super.destroy(); }
@Override public void destroy() { assertWritable(); final IResourceLock resourceLock = acquireExclusiveLock(); try { getIndexManager().dropIndex(getNamespace()+"."+FILE_METADATA_INDEX_BASENAME); getIndexManager().dropIndex(getNamespace()+"."+FILE_DATA_INDEX_BASENAME); super.destroy(); } finally { unlock(resourceLock); } }
@Override public void destroy() { assertWritable(); final IResourceLock resourceLock = acquireExclusiveLock(); try { getIndexManager().dropIndex(getNamespace()+"."+FILE_METADATA_INDEX_BASENAME); getIndexManager().dropIndex(getNamespace()+"."+FILE_DATA_INDEX_BASENAME); super.destroy(); } finally { unlock(resourceLock); } }
@Override public void destroy() { final IResourceLock resourceLock = acquireExclusiveLock(); try { final IIndexManager indexManager = getIndexManager(); indexManager.dropIndex(getFQN(LexiconKeyOrder.TERM2ID)); indexManager.dropIndex(getFQN(LexiconKeyOrder.ID2TERM)); if (getLexiconConfiguration().getBlobsThreshold() != Integer.MAX_VALUE) { // Destroy BLOBS index IFF it exists. indexManager.dropIndex(getFQN(LexiconKeyOrder.BLOBS)); } term2id = null; id2term = null; blobs = null; if (textIndex) { getSearchEngine().destroy(); viewRef.set(null); } // discard the value factory for the lexicon's namespace. valueFactory.remove(/*getNamespace()*/); termCache.clear(); super.destroy(); } finally { unlock(resourceLock); } }
@Override public void destroy() { final IResourceLock resourceLock = acquireExclusiveLock(); try { final IIndexManager indexManager = getIndexManager(); indexManager.dropIndex(getFQN(LexiconKeyOrder.TERM2ID)); indexManager.dropIndex(getFQN(LexiconKeyOrder.ID2TERM)); if (getLexiconConfiguration().getBlobsThreshold() != Integer.MAX_VALUE) { // Destroy BLOBS index IFF it exists. indexManager.dropIndex(getFQN(LexiconKeyOrder.BLOBS)); } term2id = null; id2term = null; blobs = null; if (textIndex) { getSearchEngine().destroy(); viewRef.set(null); } // discard the value factory for the lexicon's namespace. valueFactory.remove(/*getNamespace()*/); termCache.clear(); super.destroy(); } finally { unlock(resourceLock); } }
indexManager.dropIndex(name); } catch (NoSuchIndexException ex) {
indexManager.dropIndex(name); } catch (NoSuchIndexException ex) {
indexManager.dropIndex(name);
indexManager.dropIndex(name);