public class GridNioFutureImpl<R> extends GridFutureAdapter<R> implements GridNioFuture<R>
| Modifier and Type | Field and Description |
|---|---|
protected IgniteInClosure<IgniteException> |
ackC |
| Constructor and Description |
|---|
GridNioFutureImpl(IgniteInClosure<IgniteException> ackC) |
| Modifier and Type | Method and Description |
|---|---|
IgniteInClosure<IgniteException> |
ackClosure() |
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, chain, error, get, get, get, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, logger, onCancelled, onDone, onDone, onDone, onDone, onDone, resultclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcancel, chain, chain, error, get, get, get, getUninterruptibly, isCancelled, isDone, listen, resultprotected final IgniteInClosure<IgniteException> ackC
public GridNioFutureImpl(IgniteInClosure<IgniteException> ackC)
ackC - Ack closure.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 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. 2.2.0 Release Date : September 15 2017