Package org.apache.lucene.index
Interface IndexReader.ClosedListener
- Enclosing class:
- IndexReader
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A listener that is called when a resource gets closed.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when the resource (segment core, or index reader) that is being cached on is closed.
-
Method Details
-
onClose
Invoked when the resource (segment core, or index reader) that is being cached on is closed.- Throws:
IOException
-