org.compass.core.lucene.engine.manager
Class LuceneIndexHolder

java.lang.Object
  extended by org.compass.core.lucene.engine.manager.LuceneIndexHolder

public class LuceneIndexHolder
extends Object

Author:
kimchy

Constructor Summary
LuceneIndexHolder(String subIndex, IndexSearcher indexSearcher)
           
 
Method Summary
 boolean acquire()
           
 IndexReader getIndexReader()
           
 IndexSearcher getIndexSearcher()
           
 long getLastCacheInvalidation()
           
 String getSubIndex()
           
 void markForClose()
           
 void release()
           
 void setLastCacheInvalidation(long lastCacheInvalidation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneIndexHolder

public LuceneIndexHolder(String subIndex,
                         IndexSearcher indexSearcher)
Method Detail

getIndexSearcher

public IndexSearcher getIndexSearcher()

getIndexReader

public IndexReader getIndexReader()

getSubIndex

public String getSubIndex()

acquire

public boolean acquire()

release

public void release()

markForClose

public void markForClose()

getLastCacheInvalidation

public long getLastCacheInvalidation()

setLastCacheInvalidation

public void setLastCacheInvalidation(long lastCacheInvalidation)


Copyright (c) 2004-2008 The Compass Project.