AsyncQueue write element unit
| Modifier and Type | Field and Description |
|---|---|
| private static final ThreadCache. | |
| private Object | |
| private long | |
| private boolean | |
| private PushBackHandler | pushBackHandler
References Deprecated
PushBackHandler is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public static final int | |
| private final RecordWriteResult |
| Access | Constructor and Description |
|---|---|
| protected | AsyncWriteQueueRecord(final Connection<L> connection, final WritableMessage message, final CompletionHandler<E> completionHandler, final Object dstAddress, final PushBackHandler pushBackHandler, final boolean isUncountable)
References Deprecated
PushBackHandler is deprecated or references (maybe indirectly) at least one deprecated element.
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public static AsyncWriteQueueRecord | create(final Connection<L> connection, final WritableMessage message, final CompletionHandler<E> completionHandler, final Object dstAddress, final PushBackHandler pushbackHandler, final boolean isUncountable)
References Deprecated
PushBackHandler is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public long | |
| public RecordWriteResult | getCurrentResult()
Implements abstract org. Returns the current record result object. |
| public final Object | |
| public long | |
| public PushBackHandler | |
| public final WritableMessage | |
| public boolean | |
| public boolean | isUncountable()
Returns: true if record reserves in async write queue space, that is not related to message size
|
| public void | |
| public void | |
| public long | |
| protected final void | |
| protected void | set(final Connection<L> connection, final WritableMessage message, final CompletionHandler<E> completionHandler, final Object dstAddress, final PushBackHandler pushBackHandler, final boolean isUncountable)
References Deprecated
PushBackHandler is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public void |
| CACHE_IDX | back to summary |
|---|---|
| private static final ThreadCache. | |
| dstAddress | back to summary |
|---|---|
| private Object dstAddress | |
| initialMessageSize | back to summary |
|---|---|
| private long initialMessageSize | |
| isUncountable | back to summary |
|---|---|
| private boolean isUncountable | |
| pushBackHandler | back to summary |
|---|---|
| private PushBackHandler pushBackHandler
References Deprecated
See corresponding docs for further information. | |
| UNCOUNTABLE_RECORD_SPACE_VALUE | back to summary |
|---|---|
| public static final int UNCOUNTABLE_RECORD_SPACE_VALUE | |
| writeResult | back to summary |
|---|---|
| private final RecordWriteResult<K, L> writeResult | |
| AsyncWriteQueueRecord | back to summary |
|---|---|
| protected AsyncWriteQueueRecord(final Connection<L> connection, final WritableMessage message, final CompletionHandler<E> completionHandler, final Object dstAddress, final PushBackHandler pushBackHandler, final boolean isUncountable)
References Deprecated
See corresponding docs for further information. | |
| canBeAggregated | back to summary |
|---|---|
| public boolean canBeAggregated() | |
| create | back to summary |
|---|---|
| public static AsyncWriteQueueRecord create(final Connection<L> connection, final WritableMessage message, final CompletionHandler<E> completionHandler, final Object dstAddress, final PushBackHandler pushbackHandler, final boolean isUncountable)
References Deprecated
See corresponding docs for further information. | |
| getBytesToReserve | back to summary |
|---|---|
| public long getBytesToReserve() | |
| getCurrentResult | back to summary |
|---|---|
| public RecordWriteResult Implements abstract org. Doc from org. Returns the current record result object.
| |
| getDstAddress | back to summary |
|---|---|
| public final Object getDstAddress() | |
| getInitialMessageSize | back to summary |
|---|---|
| public long getInitialMessageSize() | |
| getPushBackHandler | back to summary |
|---|---|
| public PushBackHandler getPushBackHandler()
Deprecated
| |
| getWritableMessage | back to summary |
|---|---|
| public final WritableMessage getWritableMessage() | |
| isFinished | back to summary |
|---|---|
| public boolean isFinished() | |
| isUncountable | back to summary |
|---|---|
public boolean isUncountable()
| |
| notifyCompleteAndRecycle | back to summary |
|---|---|
public void notifyCompleteAndRecycle()
| |
| recycle | back to summary |
|---|---|
| public void recycle() Implements org.
| |
| remaining | back to summary |
|---|---|
| public long remaining() | |
| reset | back to summary |
|---|---|
| protected final void reset() | |
| set | back to summary |
|---|---|
| protected void set(final Connection<L> connection, final WritableMessage message, final CompletionHandler<E> completionHandler, final Object dstAddress, final PushBackHandler pushBackHandler, final boolean isUncountable)
References Deprecated
See corresponding docs for further information.
| |
| setUncountable | back to summary |
|---|---|
| public void setUncountable(final boolean isUncountable) | |