public final class LuceneBackendResources extends Object
Modifier and Type | Method and Description |
---|---|
ExecutorService |
getAsynchIndexingExecutor() |
ErrorHandler |
getErrorHandler() |
Lock |
getExclusiveModificationLock() |
String |
getIndexName() |
int |
getMaxQueueLength() |
Lock |
getParallelModificationLock() |
LuceneWorkVisitor |
getVisitor() |
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 getAsynchIndexingExecutor()
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-2015 Red Hat, Inc. All Rights Reserved