Interface ReleaseableIndexReader
-
- All Known Subinterfaces:
MultiIndexReader
- All Known Implementing Classes:
CachingMultiIndexReader,JackrabbitIndexReader,RefCountingIndexReader,SearchIndex.CombinedIndexReader
public interface ReleaseableIndexReaderReleaseableIndexReader...
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrelease()Releases this index reader and potentially frees resources.
-
-
-
Method Detail
-
release
void release() throws IOExceptionReleases this index reader and potentially frees resources. In contrast toIndexReader.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.
-
-