public class WalStateDistributedProcess extends Object
| Constructor and Description |
|---|
WalStateDistributedProcess(WalStateProposeMessage msg,
Collection<UUID> remainingNodes)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
completed() |
void |
onNodeFinished(UUID nodeId,
WalStateAckMessage ack)
Handle node finish.
|
void |
onNodeLeft(UUID nodeId)
Handle node leave.
|
UUID |
operationId() |
WalStateFinishMessage |
prepareFinishMessage()
Prepare finish message based on obtained results.
|
String |
toString() |
public WalStateDistributedProcess(WalStateProposeMessage msg, Collection<UUID> remainingNodes)
msg - Original propose message.remainingNodes - Remaining nodes.public void onNodeFinished(UUID nodeId, WalStateAckMessage ack)
nodeId - Node ID.ack - Ack message.public void onNodeLeft(UUID nodeId)
nodeId - Node ID.public boolean completed()
True if process is completed.public UUID operationId()
public WalStateFinishMessage prepareFinishMessage()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020