Class MappedByteBufferPool.Tagged

    • Field Detail

      • tag

        private final java.util.concurrent.atomic.AtomicInteger tag
    • Constructor Detail

      • Tagged

        public Tagged()
    • Method Detail

      • newByteBuffer

        public java.nio.ByteBuffer newByteBuffer​(int capacity,
                                                 boolean direct)
        Description copied from interface: ByteBufferPool

        Creates a new ByteBuffer of the given capacity and the given directness.

        Parameters:
        capacity - the ByteBuffer capacity
        direct - the ByteBuffer directness
        Returns:
        a newly allocated ByteBuffer