public final class LuceneBackendResources extends Object
Modifier and Type | Method and Description |
---|---|
ExecutorService |
getAsynchIndexingExecutor() |
ErrorHandler |
getErrorHandler() |
Lock |
getExclusiveModificationLock() |
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() |
public ExecutorService getAsynchIndexingExecutor()
public int getMaxQueueLength()
public String getIndexName()
public IndexWorkVisitor<Void,LuceneWorkExecutor> getWorkVisitor()
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