Interface CloseableByteBuffer

All Superinterfaces:
AutoCloseable

public interface CloseableByteBuffer extends AutoCloseable
A wrapper around a native ByteBuffer which allows that buffer to be closed synchronously. This is in contrast to JDK created native buffers which are deallocated only after GC has cleaned up references to the buffer.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the wrapped ByteBuffer.
    void