Deprecated
Do not use.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | internalNioBuffer(int index, int length)
Implements abstract io. |
| pack-priv final boolean | isAccessible()
Overrides io. AbstractByteBuf#ensureAccessible() to try to guard
against using the buffer after it was released (best-effort).
|
| pack-priv boolean | |
| public boolean | isContiguous()
Overrides io. true if this ByteBuf implementation is backed by a single memory region.
|
| public boolean | isReadOnly()
Overrides io. true if and only if this buffer is read-only.
|
| public ByteBuffer | nioBuffer(int index, int length)
Implements abstract io. ByteBuffer.
|
| public final int | refCnt()
Implements io. |
| pack-priv int | |
| public final boolean | release()
Implements io. 1 and deallocates this object if the reference count reaches at
0.
|
| public final boolean | release(int decrement)
Implements io. decrement and deallocates this object if the reference
count reaches at 0.
|
| pack-priv boolean | |
| pack-priv boolean | |
| public final ByteBuf | retain()
Implements abstract io. Implements io. 1.
|
| public final ByteBuf | retain(int increment)
Implements abstract io. Implements io. increment.
|
| pack-priv ByteBuf | |
| pack-priv ByteBuf | |
| public final ByteBuf | touch()
Implements abstract io. Implements io. |
| public final ByteBuf | touch(Object hint)
Implements abstract io. Implements io. |
| pack-priv ByteBuf | |
| pack-priv ByteBuf |
| AbstractDerivedByteBuf | back to summary |
|---|---|
| protected AbstractDerivedByteBuf(int maxCapacity) | |
| internalNioBuffer | back to summary |
|---|---|
| public ByteBuffer internalNioBuffer(int index, int length) Implements abstract io. Doc from io. Internal use only: Exposes the internal NIO buffer.
| |
| isAccessible | back to summary |
|---|---|
| pack-priv final boolean isAccessible() Overrides io. Doc from io. Used internally by
| |
| isAccessible0 | back to summary |
|---|---|
| pack-priv boolean isAccessible0() | |
| isContiguous | back to summary |
|---|---|
| public boolean isContiguous() Overrides io. Doc from io. Returns
This method will return
| |
| isReadOnly | back to summary |
|---|---|
| public boolean isReadOnly() Overrides io. Doc from io. Returns
| |
| nioBuffer | back to summary |
|---|---|
| public ByteBuffer nioBuffer(int index, int length) Implements abstract io. Doc from io. Exposes this buffer's sub-region as an NIO
| |
| refCnt | back to summary |
|---|---|
| public final int refCnt() Implements io. Doc from io. Returns the reference count of this object. If
| |
| refCnt0 | back to summary |
|---|---|
| pack-priv int refCnt0() | |
| release | back to summary |
|---|---|
| public final boolean release() Implements io. Doc from io. Decreases the reference count by
| |
| release | back to summary |
|---|---|
| public final boolean release(int decrement) Implements io. Doc from io. Decreases the reference count by the specified
| |
| release0 | back to summary |
|---|---|
| pack-priv boolean release0() | |
| release0 | back to summary |
|---|---|
| pack-priv boolean release0(int decrement) | |
| retain | back to summary |
|---|---|
| public final ByteBuf retain() Implements abstract io. Implements io. Doc from io. Increases the reference count by
| |
| retain | back to summary |
|---|---|
| public final ByteBuf retain(int increment) Implements abstract io. Implements io. Doc from io. Increases the reference count by the specified
| |
| retain0 | back to summary |
|---|---|
| pack-priv ByteBuf retain0() | |
| retain0 | back to summary |
|---|---|
| pack-priv ByteBuf retain0(int increment) | |
| touch | back to summary |
|---|---|
| public final ByteBuf touch() Implements abstract io. Implements io. Doc from io. Records the current access location of this object for debugging purposes.
If this object is determined to be leaked, the information recorded by this operation will be provided to you
via
| |
| touch | back to summary |
|---|---|
| public final ByteBuf touch(Object hint) Implements abstract io. Implements io. Doc from io. Records the current access location of this object with an additional arbitrary information for debugging
purposes. If this object is determined to be leaked, the information recorded by this operation will be
provided to you via
| |
| touch0 | back to summary |
|---|---|
| pack-priv ByteBuf touch0() | |
| touch0 | back to summary |
|---|---|
| pack-priv ByteBuf touch0(Object hint) | |