public class GridCacheTxFinishSync<K,V> extends Object
| Constructor and Description |
|---|
GridCacheTxFinishSync(GridCacheSharedContext<K,V> cctx) |
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture<?> |
awaitAckAsync(UUID nodeId,
long threadId) |
void |
onAckReceived(UUID nodeId,
long threadId)
Callback invoked when finish response is received from remote node.
|
void |
onDisconnected(IgniteFuture<?> reconnectFut) |
void |
onFinishSend(UUID nodeId,
long threadId)
Callback invoked before finish request is sent to remote node.
|
void |
onNodeLeft(UUID nodeId)
Callback invoked when node leaves grid.
|
public GridCacheTxFinishSync(GridCacheSharedContext<K,V> cctx)
cctx - Cache context.public void onFinishSend(UUID nodeId, long threadId)
nodeId - Node ID request being sent to.threadId - Thread ID started transaction.public IgniteInternalFuture<?> awaitAckAsync(UUID nodeId, long threadId)
nodeId - Node ID to wait ack from.threadId - Thread ID to wait ack.null if ack was received or future that will be completed when ack is received.public void onDisconnected(IgniteFuture<?> reconnectFut)
reconnectFut - Reconnect future.public void onAckReceived(UUID nodeId, long threadId)
nodeId - Node ID response was received from.threadId - Thread ID started transaction.public void onNodeLeft(UUID nodeId)
nodeId - Left node ID.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.7.0 Release Date : August 1 2016