de.pangaea.metadataportal.search
Class LuceneCache.Session

java.lang.Object
  extended by de.pangaea.metadataportal.search.LuceneCache.Session
Enclosing class:
LuceneCache

protected static final class LuceneCache.Session
extends Object

Implementation of a cache entry.


Field Summary
protected  int fetchedCount
           
protected  long lastAccess
           
protected  LuceneCache parent
           
protected  long queryTime
           
protected  org.apache.lucene.search.Searcher searcher
           
protected  org.apache.lucene.search.TopDocs topDocs
           
 
Method Summary
protected  void ensureFetchable(int neededDoc)
           
protected  void finalize()
           
protected  SearchResultList getSearchResultList(boolean loadXml, Collection<String> fieldsToLoad)
           
protected  void logAccess()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parent

protected final LuceneCache parent

searcher

protected org.apache.lucene.search.Searcher searcher

lastAccess

protected long lastAccess

queryTime

protected long queryTime

topDocs

protected org.apache.lucene.search.TopDocs topDocs

fetchedCount

protected int fetchedCount
Method Detail

ensureFetchable

protected void ensureFetchable(int neededDoc)
                        throws IOException
Throws:
IOException

logAccess

protected void logAccess()

getSearchResultList

protected SearchResultList getSearchResultList(boolean loadXml,
                                               Collection<String> fieldsToLoad)

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable


Copyright ©2007-2009 panFMP Developers c/o Uwe Schindler