| Modifier and Type | Field and Description |
|---|---|
| private static final Method | |
| private static final Method | |
| private static final Method | |
| private static final Log | |
| private static final StringManager | |
| private static final Object |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static ByteBuffer | Returns: The expanded buffer with any data from the input buffer copied in to it or the original buffer if there was no need for expansionBuffer to expand in, int The size t which the buffer should be expanded newSize)Expands buffer to the given size unless it is already as big or bigger. |
| cleanerMethod | back to summary |
|---|---|
| private static final Method cleanerMethod | |
| cleanMethod | back to summary |
|---|---|
| private static final Method cleanMethod | |
| invokeCleanerMethod | back to summary |
|---|---|
| private static final Method invokeCleanerMethod | |
| log | back to summary |
|---|---|
| private static final Log log | |
| sm | back to summary |
|---|---|
| private static final StringManager sm | |
| unsafe | back to summary |
|---|---|
| private static final Object unsafe | |
| ByteBufferUtils | back to summary |
|---|---|
| private ByteBufferUtils() | |
| cleanDirectBuffer | back to summary |
|---|---|
| public static void cleanDirectBuffer(ByteBuffer buf) | |
| expand | back to summary |
|---|---|
| public static ByteBuffer expand(ByteBuffer in, int newSize) Expands buffer to the given size unless it is already as big or bigger. Buffers are assumed to be in 'write to' mode since there would be no need to expand a buffer while it was in 'read from' mode.
| |