Package org.apache.lucene.store
Interface ByteBufferGuard.BufferCleaner
- Enclosing class:
- ByteBufferGuard
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Pass in an implementation of this interface to cleanup ByteBuffers. MMapDirectory implements
this to allow unmapping of bytebuffers with private Java APIs.
-
Method Summary
-
Method Details
-
freeBuffer
- Throws:
IOException
-