| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ByteBuffer | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | |
| public boolean | |
| public String |
| byteBuffer | back to summary |
|---|---|
| private final ByteBuffer byteBuffer | |
| last | back to summary |
|---|---|
| private final boolean last | |
| ByteBufferChunk | back to summary |
|---|---|
| public ByteBufferChunk(ByteBuffer byteBuffer, boolean last) | |
| getByteBuffer | back to summary |
|---|---|
| public ByteBuffer getByteBuffer() Implements org.
| |
| isLast | back to summary |
|---|---|
| public boolean isLast() Implements org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicReference |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | release()
Overrides org. Overrides default org. Releases this resource, potentially decrementing a reference count (if any). |
| releaser | back to summary |
|---|---|
| private final AtomicReference<Consumer<ByteBuffer>> releaser | |
| ReleasedByConsumer | back to summary |
|---|---|
| public ReleasedByConsumer(ByteBuffer byteBuffer, boolean last, Consumer<ByteBuffer> releaser) | |
| release | back to summary |
|---|---|
| public boolean release() Overrides org. Overrides default org. Doc from org. Releases this resource, potentially decrementing a reference count (if any).
| |
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicReference |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | release()
Overrides org. Overrides default org. Releases this resource, potentially decrementing a reference count (if any). |
| releaser | back to summary |
|---|---|
| private final AtomicReference<Runnable> releaser | |
| ReleasedByRunnable | back to summary |
|---|---|
| public ReleasedByRunnable(ByteBuffer byteBuffer, boolean last, Runnable releaser) | |
| release | back to summary |
|---|---|
| public boolean release() Overrides org. Overrides default org. Doc from org. Releases this resource, potentially decrementing a reference count (if any).
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Retainable. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canRetain()
Overrides default org. Returns whether this resource is referenced counted by calls to |
| public boolean | release()
Overrides default org. Releases this resource, potentially decrementing a reference count (if any). |
| public void | retain()
Overrides default org. Retains this resource, potentially incrementing a reference count if there are resources that will be released. |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| references | back to summary |
|---|---|
| private final Retainable. | |
| WithReferenceCount | back to summary |
|---|---|
| public WithReferenceCount(ByteBuffer byteBuffer, boolean last) | |
| canRetain | back to summary |
|---|---|
| public boolean canRetain() Overrides default org. Doc from org. Returns whether this resource is referenced counted by calls to Implementations may decide that special resources are not not referenced counted (for example,
| |
| release | back to summary |
|---|---|
| public boolean release() Overrides default org. Doc from org. Releases this resource, potentially decrementing a reference count (if any).
| |
| retain | back to summary |
|---|---|
| public void retain() Overrides default org. Doc from org. Retains this resource, potentially incrementing a reference count if there are resources that will be released.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| private final Retainable |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canRetain()
Overrides default org. Returns whether this resource is referenced counted by calls to |
| public boolean | release()
Overrides default org. Releases this resource, potentially decrementing a reference count (if any). |
| public void | retain()
Overrides default org. Retains this resource, potentially incrementing a reference count if there are resources that will be released. |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| retainable | back to summary |
|---|---|
| private final Retainable retainable | |
| WithRetainable | back to summary |
|---|---|
| public WithRetainable(ByteBuffer byteBuffer, boolean last, Retainable retainable) | |
| canRetain | back to summary |
|---|---|
| public boolean canRetain() Overrides default org. Doc from org. Returns whether this resource is referenced counted by calls to Implementations may decide that special resources are not not referenced counted (for example,
| |
| release | back to summary |
|---|---|
| public boolean release() Overrides default org. Doc from org. Releases this resource, potentially decrementing a reference count (if any).
| |
| retain | back to summary |
|---|---|
| public void retain() Overrides default org. Doc from org. Retains this resource, potentially incrementing a reference count if there are resources that will be released.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |