| Modifier and Type | Method and Description |
|---|---|
| public void | acquireSession(Buffer buffer)
Used by operations to make a buffer's session non-closeable (for the duration of the operation) by acquiring the session. |
| public MemorySegment | bufferSegment(Buffer buffer)
Used by |
| public long | |
| public Object | |
| public VM. | |
| public boolean | |
| public AbstractMemorySegmentImpl | heapSegment(Buffer buffer, Object base, long offset, long length, boolean readOnly, MemorySessionImpl bufferScope)
|
| public boolean | |
| public MappedMemoryUtilsProxy | |
| public ByteBuffer | newDirectByteBuffer(long addr, int cap, Object obj, MemorySegment segment)
Constructs a direct ByteBuffer referring to the block of memory starting
at the given memory address and extending |
| public ByteBuffer | |
| public ByteBuffer | newHeapByteBuffer(byte[] hb, int offset, int capacity, MemorySegment segment)
Constructs an heap ByteBuffer with given backing array, offset, capacity and segment. |
| public ByteBuffer | newMappedByteBuffer(UnmapperProxy unmapperProxy, long addr, int cap, Object obj, MemorySegment segment)
Constructs a mapped ByteBuffer referring to the block of memory starting
at the given memory address and extending |
| public int | |
| public void | |
| public void | |
| public int | |
| public UnmapperProxy | |
| public void |
| acquireSession | back to summary |
|---|---|
| public void acquireSession(Buffer buffer) Used by operations to make a buffer's session non-closeable (for the duration of the operation) by acquiring the session. acquireSession(buffer); try { performOperation(buffer); } finally { releaseSession(buffer); }
| |
| bufferSegment | back to summary |
|---|---|
| public MemorySegment bufferSegment(Buffer buffer) Used by | |
| getBufferAddress | back to summary |
|---|---|
| public long getBufferAddress(Buffer buffer) Used by | |
| getBufferBase | back to summary |
|---|---|
| public Object getBufferBase(Buffer bb) Used by | |
| getDirectBufferPool | back to summary |
|---|---|
| public VM. Used by | |
| hasSession | back to summary |
|---|---|
| public boolean hasSession(Buffer buffer) | |
| heapSegment | back to summary |
|---|---|
| public AbstractMemorySegmentImpl heapSegment(Buffer buffer, Object base, long offset, long length, boolean readOnly, MemorySessionImpl bufferScope) | |
| isThreadConfined | back to summary |
|---|---|
| public boolean isThreadConfined(Buffer buffer) | |
| mappedMemoryUtils | back to summary |
|---|---|
| public MappedMemoryUtilsProxy mappedMemoryUtils() Used by | |
| newDirectByteBuffer | back to summary |
|---|---|
| public ByteBuffer newDirectByteBuffer(long addr, int cap, Object obj, MemorySegment segment) Constructs a direct ByteBuffer referring to the block of memory starting
at the given memory address and extending | |
| newDirectByteBuffer | back to summary |
|---|---|
| public ByteBuffer newDirectByteBuffer(long addr, int cap) Used by | |
| newHeapByteBuffer | back to summary |
|---|---|
| public ByteBuffer newHeapByteBuffer(byte[] hb, int offset, int capacity, MemorySegment segment) Constructs an heap ByteBuffer with given backing array, offset, capacity and segment.
Used by | |
| newMappedByteBuffer | back to summary |
|---|---|
| public ByteBuffer newMappedByteBuffer(UnmapperProxy unmapperProxy, long addr, int cap, Object obj, MemorySegment segment) Constructs a mapped ByteBuffer referring to the block of memory starting
at the given memory address and extending | |
| pageSize | back to summary |
|---|---|
| public int pageSize() Used by | |
| releaseSession | back to summary |
|---|---|
| public void releaseSession(Buffer buffer) | |
| reserveMemory | back to summary |
|---|---|
| public void reserveMemory(long size, long cap) Used by | |
| scaleShifts | back to summary |
|---|---|
| public int scaleShifts(Buffer buffer) | |
| unmapper | back to summary |
|---|---|
| public UnmapperProxy unmapper(Buffer buffer) Used by | |
| unreserveMemory | back to summary |
|---|---|
| public void unreserveMemory(long size, long cap) Used by | |