Class MappedByteBufferPool.Tagged

    • Constructor Detail

      • Tagged

        public Tagged()
        Deprecated.
    • Method Detail

      • newByteBuffer

        public java.nio.ByteBuffer newByteBuffer​(int capacity,
                                                 boolean direct)
        Deprecated.
        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
      • getDirectMemory

        @ManagedAttribute("The bytes retained by direct ByteBuffers")
        public long getDirectMemory()
        Deprecated.
      • getHeapMemory

        @ManagedAttribute("The bytes retained by heap ByteBuffers")
        public long getHeapMemory()
        Deprecated.
      • getMaxDirectMemory

        @ManagedAttribute("The max num of bytes that can be retained from direct ByteBuffers")
        public long getMaxDirectMemory()
        Deprecated.
      • getMaxHeapMemory

        @ManagedAttribute("The max num of bytes that can be retained from heap ByteBuffers")
        public long getMaxHeapMemory()
        Deprecated.
      • getMemory

        public long getMemory​(boolean direct)
        Deprecated.