public interface GridNioFuture<R> extends IgniteInternalFuture<R>
Modifier and Type | Method and Description |
---|---|
IgniteInClosure<IgniteException> |
ackClosure() |
void |
ackClosure(IgniteInClosure<IgniteException> c)
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() |
cancel, chain, chain, duration, error, get, get, get, getUninterruptibly, isCancelled, isDone, listen, result, startTime
void messageThread(boolean msgThread)
msgThread
- True
if future was created in thread that is processing message.boolean messageThread()
True
if future was created in thread that was processing message.boolean skipRecovery()
True
if skip recovery for this operation.void ackClosure(IgniteInClosure<IgniteException> c)
c
- Ack closure.void onAckReceived()
IgniteInClosure<IgniteException> ackClosure()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.9.0 Release Date : March 2 2017