Interface CleanerUtil.BufferCleaner

  • Enclosing class:
    CleanerUtil
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface CleanerUtil.BufferCleaner
    Pass in an implementation of this interface to cleanup ByteBuffers. CleanerUtil implements this to allow unmapping of bytebuffers with private Java APIs.