Interface UntetheredMemory


  • public interface UntetheredMemory
    Memory that isn't attached to any particular buffer.

    Used for transporting the details of a buffer allocation through the layers in PooledBufferAllocator.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <BufferType extends Buffer>
      Drop<BufferType>
      drop()
      Produces the drop instance associated with this piece of untethered memory.
      <Memory> Memory memory()
      Produces the recoverable memory object associated with this piece of untethered memory.
    • Method Detail

      • memory

        <Memory> Memory memory()
        Produces the recoverable memory object associated with this piece of untethered memory.
      • drop

        <BufferType extends BufferDrop<BufferType> drop()
        Produces the drop instance associated with this piece of untethered memory.