org.hibernate.search.backend.impl.lucene
Class LuceneBackendResources

java.lang.Object
  extended by org.hibernate.search.backend.impl.lucene.LuceneBackendResources

public final class LuceneBackendResources
extends Object

Collects all resources needed to apply changes to one index, and are reused across several WorkQueues.

Author:
Sanne Grinovero

Method Summary
 ErrorHandler getErrorHandler()
           
 Lock getExclusiveModificationLock()
           
 String getIndexName()
           
 int getMaxQueueLength()
           
 Lock getParallelModificationLock()
           
 ExecutorService getQueueingExecutor()
           
 LuceneWorkVisitor getVisitor()
           
 ExecutorService getWorkersExecutor()
           
 AbstractWorkspaceImpl getWorkspace()
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getQueueingExecutor

public ExecutorService getQueueingExecutor()

getWorkersExecutor

public ExecutorService getWorkersExecutor()

getMaxQueueLength

public int getMaxQueueLength()

getIndexName

public String getIndexName()

getVisitor

public LuceneWorkVisitor getVisitor()

getWorkspace

public AbstractWorkspaceImpl getWorkspace()

shutdown

public void shutdown()

getErrorHandler

public ErrorHandler getErrorHandler()

getParallelModificationLock

public Lock getParallelModificationLock()

getExclusiveModificationLock

public Lock getExclusiveModificationLock()


Copyright © 2006-2012 Hibernate. All Rights Reserved.