java.lang.Object
org.elasticsearch.common.io.DiskIoBufferPool
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final DiskIoBufferPool
protected static final ThreadLocal<ByteBuffer>
-
Constructor Summary
-
Method Summary
-
Field Details
-
BUFFER_SIZE
public static final int BUFFER_SIZE -
ioBufferPool
-
INSTANCE
-
-
Constructor Details
-
DiskIoBufferPool
protected DiskIoBufferPool()
-
-
Method Details
-
maybeGetDirectIOBuffer
- Returns:
- thread-local cached direct byte buffer if we are on a thread that supports caching direct buffers or null otherwise
-