public class ThreadLocalDirectByteBuffer extends ThreadLocal<ByteBuffer>
Constructor and Description |
---|
ThreadLocalDirectByteBuffer() |
ThreadLocalDirectByteBuffer(int size) |
ThreadLocalDirectByteBuffer(int size,
ByteOrder order) |
Modifier and Type | Method and Description |
---|---|
protected ByteBuffer |
allocateDirectBuffer(int capacity) |
ByteBuffer |
get() |
ByteBuffer |
get(int capacity) |
protected ByteBuffer |
initialValue() |
remove, set, withInitial
public ThreadLocalDirectByteBuffer()
public ThreadLocalDirectByteBuffer(int size)
public ThreadLocalDirectByteBuffer(int size, ByteOrder order)
protected ByteBuffer initialValue()
initialValue
in class ThreadLocal<ByteBuffer>
public ByteBuffer get(int capacity)
public ByteBuffer get()
get
in class ThreadLocal<ByteBuffer>
protected ByteBuffer allocateDirectBuffer(int capacity)
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023