public class GridNioFutureImpl<R> extends GridFutureAdapter<R> implements GridNioFuture<R>
AbstractQueuedSynchronizer.ConditionObject| Modifier and Type | Field and Description |
|---|---|
protected IgniteInClosure<IgniteException> |
ackClosure |
protected boolean |
msgThread |
| Constructor and Description |
|---|
GridNioFutureImpl() |
| Modifier and Type | Method and Description |
|---|---|
IgniteInClosure<IgniteException> |
ackClosure() |
void |
ackClosure(IgniteInClosure<IgniteException> closure)
Sets ack closure which will be applied when ack received.
|
boolean |
messageThread() |
void |
messageThread(boolean msgThread)
Sets flag indicating that message send future was created in thread that was processing a message.
|
void |
onAckReceived()
The method will be called when ack received.
|
boolean |
skipRecovery() |
String |
toString() |
cancel, chain, duration, endTime, error, get, get, get, get0, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, onCancelled, onDone, onDone, onDone, onDone, result, startTime, tryAcquireShared, tryReleaseSharedacquire, acquireInterruptibly, acquireShared, acquireSharedInterruptibly, compareAndSetState, getExclusiveQueuedThreads, getFirstQueuedThread, getQueuedThreads, getQueueLength, getSharedQueuedThreads, getState, getWaitingThreads, getWaitQueueLength, hasContended, hasQueuedPredecessors, hasQueuedThreads, hasWaiters, isHeldExclusively, isQueued, owns, release, releaseShared, setState, tryAcquire, tryAcquireNanos, tryAcquireSharedNanos, tryReleasegetExclusiveOwnerThread, setExclusiveOwnerThreadclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcancel, chain, duration, error, get, get, get, getUninterruptibly, isCancelled, isDone, listen, result, startTimeprotected boolean msgThread
protected IgniteInClosure<IgniteException> ackClosure
public void messageThread(boolean msgThread)
messageThread in interface GridNioFuture<R>msgThread - True if future was created in thread that is processing message.public boolean messageThread()
messageThread in interface GridNioFuture<R>True if future was created in thread that was processing message.public boolean skipRecovery()
skipRecovery in interface GridNioFuture<R>True if skip recovery for this operation.public void ackClosure(IgniteInClosure<IgniteException> closure)
ackClosure in interface GridNioFuture<R>closure - Ack closure.public void onAckReceived()
onAckReceived in interface GridNioFuture<R>public IgniteInClosure<IgniteException> ackClosure()
ackClosure in interface GridNioFuture<R>public String toString()
toString in class GridFutureAdapter<R>
Follow @ApacheIgnite
Ignite Fabric : ver. 1.6.0 Release Date : May 18 2016