Class DiskIoBufferPool

java.lang.Object
org.elasticsearch.common.io.DiskIoBufferPool

public class DiskIoBufferPool extends Object
  • Field Details

  • Constructor Details

    • DiskIoBufferPool

      protected DiskIoBufferPool()
  • Method Details

    • maybeGetDirectIOBuffer

      @Nullable public ByteBuffer maybeGetDirectIOBuffer()
      Returns:
      thread-local cached direct byte buffer if we are on a thread that supports caching direct buffers or null otherwise