public class StartFullSnapshotAckDiscoveryMessage extends Object implements DiscoveryCustomMessage
| Constructor and Description |
|---|
StartFullSnapshotAckDiscoveryMessage(long globalSnapshotId,
boolean fullSnapshot,
Map<Integer,Long> lastFullSnapshotIdForCache,
Collection<String> cacheNames,
Exception err,
UUID initiatorNodeId,
String msg) |
| Modifier and Type | Method and Description |
|---|---|
DiscoveryCustomMessage |
ackMessage()
Called when custom message has been handled by all nodes.
|
Collection<String> |
cacheNames() |
Exception |
error() |
boolean |
fullSnapshot() |
long |
globalSnapshotId() |
boolean |
hasError() |
IgniteUuid |
id() |
UUID |
initiatorNodeId() |
boolean |
isMutable() |
Long |
lastFullSnapshotId(int cacheId) |
String |
message() |
public StartFullSnapshotAckDiscoveryMessage(long globalSnapshotId,
boolean fullSnapshot,
Map<Integer,Long> lastFullSnapshotIdForCache,
Collection<String> cacheNames,
Exception err,
UUID initiatorNodeId,
String msg)
globalSnapshotId - Snapshot ID.err - Error.cacheNames - Cache names.public Collection<String> cacheNames()
public IgniteUuid id()
id in interface DiscoveryCustomMessagepublic UUID initiatorNodeId()
public Exception error()
public boolean hasError()
True if message has error otherwise false.public long globalSnapshotId()
public boolean fullSnapshot()
public String message()
@Nullable public Long lastFullSnapshotId(int cacheId)
cacheId - Cache id.@Nullable public DiscoveryCustomMessage ackMessage()
ackMessage in interface DiscoveryCustomMessagenull if ack is not required.public boolean isMutable()
isMutable in interface DiscoveryCustomMessagetrue if message can be modified during listener notification. Changes will be send to next nodes.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017