public final class LuceneBackendResources extends Object
Modifier and Type | Method and Description |
---|---|
void |
flushAndReleaseResources() |
ErrorHandler |
getErrorHandler() |
Lock |
getExclusiveModificationLock() |
IndexManager |
getIndexManager() |
String |
getIndexName() |
int |
getMaxQueueLength() |
Lock |
getParallelModificationLock() |
AbstractWorkspaceImpl |
getWorkspace() |
IndexWorkVisitor<Void,LuceneWorkExecutor> |
getWorkVisitor() |
LuceneBackendResources |
onTheFlyRebuild()
Creates a replacement for this same LuceneBackendResources:
reuses the existing locks and executors (which can't be reconfigured on the fly),
reuses the same Workspace and ErrorHandler, but will use a new LuceneWorkVisitor.
|
void |
shutdown() |
void |
submitToAsyncIndexingExecutor(org.hibernate.search.backend.impl.lucene.LuceneBackendQueueTask luceneBackendQueueProcessor) |
public int getMaxQueueLength()
public String getIndexName()
public IndexManager getIndexManager()
public IndexWorkVisitor<Void,LuceneWorkExecutor> getWorkVisitor()
public AbstractWorkspaceImpl getWorkspace()
public void shutdown()
public ErrorHandler getErrorHandler()
public Lock getParallelModificationLock()
public Lock getExclusiveModificationLock()
public LuceneBackendResources onTheFlyRebuild()
public void flushAndReleaseResources()
public void submitToAsyncIndexingExecutor(org.hibernate.search.backend.impl.lucene.LuceneBackendQueueTask luceneBackendQueueProcessor)
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved