Class AllocatedBuffer

java.lang.Object
io.camunda.zeebe.util.allocation.AllocatedBuffer
All Implemented Interfaces:
CloseableSilently, AutoCloseable
Direct Known Subclasses:
AllocatedDirectBuffer

public abstract class AllocatedBuffer extends Object implements CloseableSilently
  • Field Details

  • Constructor Details

    • AllocatedBuffer

      public AllocatedBuffer(ByteBuffer buffer)
  • Method Details

    • getRawBuffer

      public ByteBuffer getRawBuffer()
    • capacity

      public int capacity()
    • isClosed

      public boolean isClosed()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface CloseableSilently
    • doClose

      public void doClose()