org.apache.jackrabbit.core.query.lucene
Interface ReleaseableIndexReader

All Known Subinterfaces:
MultiIndexReader
All Known Implementing Classes:
CachingMultiIndexReader, JackrabbitIndexReader, RefCountingIndexReader, SearchIndex.CombinedIndexReader

public interface ReleaseableIndexReader

ReleaseableIndexReader...


Method Summary
 void release()
          Releases this index reader and potentially frees resources.
 

Method Detail

release

void release()
             throws IOException
Releases this index reader and potentially frees resources. In contrast to IndexReader.close() this method does not necessarily close the index reader, but gives the implementation the opportunity to do reference counting.

Throws:
IOException - if an error occurs while releasing the index reader.


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.