public class GridNioFinishedFuture<R> extends GridFinishedFuture<R> implements GridNioFuture<R>
Constructor and Description |
---|
GridNioFinishedFuture(R res) |
GridNioFinishedFuture(Throwable err) |
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, isCancelled, isDone, listen, result
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
cancel, chain, chain, error, get, get, get, getUninterruptibly, isCancelled, isDone, listen, result
public GridNioFinishedFuture(R res)
res
- Result.public GridNioFinishedFuture(Throwable err)
err
- Error.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 GridFinishedFuture<R>
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017