| Modifier and Type | Field and Description |
|---|---|
| private final ObjectPool. | |
| private Object | |
| private Promise | |
| private static final ObjectPool |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | failAndRecycle(Throwable cause)
Fails the underlying |
| public Object | |
| public static PendingWrite | |
| public Promise | |
| public boolean | |
| public Promise | |
| public boolean |
| handle | back to summary |
|---|---|
| private final ObjectPool. | |
| msg | back to summary |
|---|---|
| private Object msg | |
| promise | back to summary |
|---|---|
| private Promise<Void> promise | |
| RECYCLER | back to summary |
|---|---|
| private static final ObjectPool<PendingWrite> RECYCLER | |
| PendingWrite | back to summary |
|---|---|
| private PendingWrite(ObjectPool. | |
| failAndRecycle | back to summary |
|---|---|
| public boolean failAndRecycle(Throwable cause) Fails the underlying | |
| msg | back to summary |
|---|---|
| public Object msg() | |
| newInstance | back to summary |
|---|---|
| public static PendingWrite newInstance(Object msg, Promise<Void> promise) Create a new empty | |
| promise | back to summary |
|---|---|
| public Promise | |
| recycle | back to summary |
|---|---|
| public boolean recycle() Clear and recycle this instance. | |
| recycleAndGet | back to summary |
|---|---|
| public Promise Recycle this instance and return the | |
| successAndRecycle | back to summary |
|---|---|
| public boolean successAndRecycle() Mark the underlying | |