| Modifier and Type | Field and Description |
|---|---|
| public static final EmptyPayload |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuf | |
| public boolean | hasMetadata()
Implements io. |
| public ByteBuf | metadata()
Implements io. |
| public int | refCnt()
Implements io. |
| public boolean | release()
Implements io. 1 and deallocates this object if the reference count reaches at
0.
|
| public boolean | release(int decrement)
Implements io. decrement and deallocates this object if the reference
count reaches at 0.
|
| public EmptyPayload | |
| public EmptyPayload | retain(int increment)
Implements io. increment.
|
| public ByteBuf | |
| public ByteBuf | |
| public EmptyPayload | touch()
Implements io. |
| public EmptyPayload | touch(Object hint)
Implements io. |
| INSTANCE | back to summary |
|---|---|
| public static final EmptyPayload INSTANCE | |
| EmptyPayload | back to summary |
|---|---|
| private EmptyPayload() | |
| data | back to summary |
|---|---|
| public ByteBuf data() Implements io. Doc from io. Returns the Payloads' data without slicing if possible. This is not safe and editing this could effect the payload. It is recommended to call sliceData(). | |
| hasMetadata | back to summary |
|---|---|
| public boolean hasMetadata() Implements io. Doc from io. Returns whether the payload has metadata, useful for tell if metadata is empty or not present.
| |
| metadata | back to summary |
|---|---|
| public ByteBuf metadata() Implements io. Doc from io. Returns the Payloads' metadata without slicing if possible. This is not safe and editing this could effect the payload. It is recommended to call sliceMetadata(). | |
| refCnt | back to summary |
|---|---|
| public int refCnt() Implements io. Doc from io. Returns the reference count of this object. If
| |
| release | back to summary |
|---|---|
| public boolean release() Implements io. Doc from io. Decreases the reference count by
| |
| release | back to summary |
|---|---|
| public boolean release(int decrement) Implements io. Doc from io. Decreases the reference count by the specified
| |
| retain | back to summary |
|---|---|
| public EmptyPayload retain() Implements io. Doc from io. Increases the reference count by
| |
| retain | back to summary |
|---|---|
| public EmptyPayload retain(int increment) Implements io. Doc from io. Increases the reference count by the specified
| |
| sliceData | back to summary |
|---|---|
| public ByteBuf sliceData() Implements io. Doc from io. Returns the Payload data. Always non-null. | |
| sliceMetadata | back to summary |
|---|---|
| public ByteBuf sliceMetadata() Implements io. Doc from io. Returns a slice Payload metadata. Always non-null, check | |
| touch | back to summary |
|---|---|
| public EmptyPayload touch() 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 EmptyPayload touch(Object hint) 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
| |