Interface ReleaseableIndexReader
-
- All Known Subinterfaces:
MultiIndexReader
- All Known Implementing Classes:
CachingMultiIndexReader
,JackrabbitIndexReader
,RefCountingIndexReader
,SearchIndex.CombinedIndexReader
public interface ReleaseableIndexReader
ReleaseableIndexReader
...
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 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.
-
-