HeapBuffer implementation, which might be reset to reference another byte[] at any moment.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Buffer | |
| public void | dispose()
Overrides org. Implements org. Notify the allocator that the space for this Buffer is no longer needed. |
| pack-priv boolean | |
| protected void | |
| public void | |
| pack-priv void |
| hasClonedArray | back to summary |
|---|---|
| pack-priv boolean hasClonedArray | |
| isDisposed | back to summary |
|---|---|
| pack-priv boolean isDisposed | |
| TemporaryHeapBuffer | back to summary |
|---|---|
| pack-priv TemporaryHeapBuffer() | |
| cloneContent | back to summary |
|---|---|
| pack-priv Buffer cloneContent(final MemoryManager<E extends Buffer> memoryManager) | |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides org. Implements org. Doc from org. Notify the allocator that the space for this Buffer is no longer needed. All calls to methods on a Buffer will fail after a call to dispose().
| |
| isDisposed | back to summary |
|---|---|
| pack-priv boolean isDisposed() | |
| onShareHeap | back to summary |
|---|---|
| protected void onShareHeap() Overrides org.
| |
| recycle | back to summary |
|---|---|
| public void recycle() | |
| reset | back to summary |
|---|---|
| pack-priv void reset(final byte[] heap, final int offset, final int len) Reset the byte[] this Buffer wraps. | |