public final class LuceneBackendResources extends Object
Modifier and Type | Method and Description |
---|---|
ErrorHandler |
getErrorHandler() |
Lock |
getExclusiveModificationLock() |
String |
getIndexName() |
int |
getMaxQueueLength() |
Lock |
getParallelModificationLock() |
ExecutorService |
getQueueingExecutor() |
LuceneWorkVisitor |
getVisitor() |
ExecutorService |
getWorkersExecutor() |
AbstractWorkspaceImpl |
getWorkspace() |
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() |
public ExecutorService getQueueingExecutor()
public ExecutorService getWorkersExecutor()
public int getMaxQueueLength()
public String getIndexName()
public LuceneWorkVisitor getVisitor()
public AbstractWorkspaceImpl getWorkspace()
public void shutdown()
public ErrorHandler getErrorHandler()
public Lock getParallelModificationLock()
public Lock getExclusiveModificationLock()
public LuceneBackendResources onTheFlyRebuild()
Copyright © 2006–2014 Hibernate. All rights reserved.