ByteBuffer storage.
| Modifier and Type | Field and Description |
|---|---|
| private ByteBuffer[] | |
| private int | |
| private static final ThreadCache. | |
| private ByteBuffer | |
| private ByteBuffer | |
| private int | |
| private SoftReference |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | |
| private void | |
| public void | |
| public static DirectByteBufferRecord | |
| public ByteBuffer[] | |
| public int | |
| public ByteBuffer | |
| public ByteBuffer | |
| public void | |
| public void | |
| private void | |
| public ByteBuffer | |
| private void | |
| private ByteBuffer |
| array | back to summary |
|---|---|
| private ByteBuffer[] array | |
| arraySize | back to summary |
|---|---|
| private int arraySize | |
| CACHE_IDX | back to summary |
|---|---|
| private static final ThreadCache. | |
| directBuffer | back to summary |
|---|---|
| private ByteBuffer directBuffer | |
| directBufferSlice | back to summary |
|---|---|
| private ByteBuffer directBufferSlice | |
| sliceOffset | back to summary |
|---|---|
| private int sliceOffset | |
| softRef | back to summary |
|---|---|
| private SoftReference<ByteBuffer> softRef | |
| DirectByteBufferRecord | back to summary |
|---|---|
| pack-priv DirectByteBufferRecord() | |
| allocate | back to summary |
|---|---|
| public ByteBuffer allocate(final int size) | |
| ensureArraySize | back to summary |
|---|---|
| private void ensureArraySize() | |
| finishBufferSlice | back to summary |
|---|---|
| public void finishBufferSlice() | |
| get | back to summary |
|---|---|
| public static DirectByteBufferRecord get() | |
| getArray | back to summary |
|---|---|
| public ByteBuffer[] getArray() | |
| getArraySize | back to summary |
|---|---|
| public int getArraySize() | |
| getDirectBuffer | back to summary |
|---|---|
| public ByteBuffer getDirectBuffer() | |
| getDirectBufferSlice | back to summary |
|---|---|
| public ByteBuffer getDirectBufferSlice() | |
| putToArray | back to summary |
|---|---|
| public void putToArray(ByteBuffer byteBuffer) | |
| release | back to summary |
|---|---|
| public void release() | |
| reset | back to summary |
|---|---|
| private void reset(ByteBuffer byteBuffer) | |
| sliceBuffer | back to summary |
|---|---|
| public ByteBuffer sliceBuffer() | |
| switchToSoft | back to summary |
|---|---|
| private void switchToSoft() | |
| switchToStrong | back to summary |
|---|---|
| private ByteBuffer switchToStrong() | |