public class TcpCommunicationConnectionCheckFuture extends GridFutureAdapter<BitSet> implements IgniteSpiTimeoutObject, GridLocalEventListener
| Modifier and Type | Field and Description |
|---|---|
static int |
SES_FUT_META
Session future.
|
| Constructor and Description |
|---|
TcpCommunicationConnectionCheckFuture(TcpCommunicationSpi spi,
IgniteLogger log,
GridNioServer nioSrvr,
List<ClusterNode> nodes) |
| Modifier and Type | Method and Description |
|---|---|
long |
endTime() |
IgniteUuid |
id() |
void |
init(long timeout) |
boolean |
onDone(@Nullable BitSet res,
@Nullable Throwable err)
Callback to notify that future is finished.
|
void |
onEvent(Event evt)
Local event callback.
|
void |
onTimeout()
Timeout callback.
|
cancel, chain, chain, error, get, get, get, getUninterruptibly, ignoreInterrupts, isCancelled, isDone, isFailed, listen, logger, onCancelled, onDone, onDone, onDone, onDone, reset, result, toStringpublic TcpCommunicationConnectionCheckFuture(TcpCommunicationSpi spi, IgniteLogger log, GridNioServer nioSrvr, List<ClusterNode> nodes)
spi - SPI instance.log - Logger.nioSrvr - NIO server.nodes - Nodes to check.public void init(long timeout)
timeout - Connect timeout.public IgniteUuid id()
id in interface IgniteSpiTimeoutObjectpublic long endTime()
endTime in interface IgniteSpiTimeoutObjectpublic void onEvent(Event evt)
onEvent in interface GridLocalEventListenerevt - local grid event.public void onTimeout()
onTimeout in interface IgniteSpiTimeoutObjectpublic boolean onDone(@Nullable
@Nullable BitSet res,
@Nullable
@Nullable Throwable err)
null exception is passed in
the result value will be ignored.onDone in class GridFutureAdapter<BitSet>res - Optional result.err - Optional error.True if result was set by this call.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021