| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract ByteBuffer | Returns: bufferAllocates the resources required for this buffer, or returns the resources already allocated for this buffer. |
| pack-priv static SSLManagedBuffer | |
| pack-priv abstract boolean | Returns: true if the buffer has been acquired and the underlying buffer's position is > 0,
otherwise falseTests to make sure that the buffer has been acquired and the underlying buffer has a position larger than
|
| pack-priv abstract boolean | Returns: true if the buffer is acquired, otherwise falseTests to see if this buffer has been acquired. |
| pack-priv abstract void |
| SSLManagedBuffer | back to summary |
|---|---|
| pack-priv SSLManagedBuffer() | |
| acquire | back to summary |
|---|---|
| pack-priv abstract ByteBuffer acquire() Allocates the resources required for this buffer, or returns the resources already allocated for this buffer.
Unless
| |
| create | back to summary |
|---|---|
| pack-priv static SSLManagedBuffer create(final SSLBufferMode mode, final int size) | |
| hasData | back to summary |
|---|---|
| pack-priv abstract boolean hasData() Tests to make sure that the buffer has been acquired and the underlying buffer has a position larger than
| |
| isAcquired | back to summary |
|---|---|
| pack-priv abstract boolean isAcquired() Tests to see if this buffer has been acquired.
| |
| release | back to summary |
|---|---|
| pack-priv abstract void release() Releases the resources for this buffer. If the buffer has already been released, this method does nothing. | |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private ByteBuffer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | acquire()
Implements abstract org. |
| public boolean | hasData()
Implements abstract org. 0.
|
| public boolean | isAcquired()
Implements abstract org. |
| public void | release()
Implements abstract org. |
| length | back to summary |
|---|---|
| private final int length | |
| wrapped | back to summary |
|---|---|
| private ByteBuffer wrapped | |
| DynamicBuffer | back to summary |
|---|---|
| public DynamicBuffer(final int size) | |
| acquire | back to summary |
|---|---|
| public ByteBuffer acquire() Implements abstract org. Doc from org. Allocates the resources required for this buffer, or returns the resources already allocated for this buffer.
Unless
| |
| hasData | back to summary |
|---|---|
| public boolean hasData() Implements abstract org. Doc from org. Tests to make sure that the buffer has been acquired and the underlying buffer has a position larger than
| |
| isAcquired | back to summary |
|---|---|
| public boolean isAcquired() Implements abstract org. Doc from org. Tests to see if this buffer has been acquired.
| |
| release | back to summary |
|---|---|
| public void release() Implements abstract org. Doc from org. Releases the resources for this buffer. If the buffer has already been released, this method does nothing.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ByteBuffer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | acquire()
Implements abstract org. |
| public boolean | hasData()
Implements abstract org. 0.
|
| public boolean | isAcquired()
Implements abstract org. |
| public void | release()
Implements abstract org. |
| buffer | back to summary |
|---|---|
| private final ByteBuffer buffer | |
| StaticBuffer | back to summary |
|---|---|
| public StaticBuffer(final int size) | |
| acquire | back to summary |
|---|---|
| public ByteBuffer acquire() Implements abstract org. Doc from org. Allocates the resources required for this buffer, or returns the resources already allocated for this buffer.
Unless
| |
| hasData | back to summary |
|---|---|
| public boolean hasData() Implements abstract org. Doc from org. Tests to make sure that the buffer has been acquired and the underlying buffer has a position larger than
| |
| isAcquired | back to summary |
|---|---|
| public boolean isAcquired() Implements abstract org. Doc from org. Tests to see if this buffer has been acquired.
| |
| release | back to summary |
|---|---|
| public void release() Implements abstract org. Doc from org. Releases the resources for this buffer. If the buffer has already been released, this method does nothing.
| |