public class StartFullSnapshotDiscoveryMessage extends Object implements DiscoveryCustomMessage
| Constructor and Description |
|---|
StartFullSnapshotDiscoveryMessage(long globalSnapshotId,
Collection<String> cacheNames,
UUID initiatorId,
boolean fullSnapshot,
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() |
void |
error(Exception err)
Sets error.
|
boolean |
fullSnapshot() |
void |
fullSnapshot(boolean full) |
long |
globalSnapshotId() |
boolean |
hasError() |
IgniteUuid |
id() |
UUID |
initiatorId() |
boolean |
isMutable() |
Long |
lastFullSnapshotId(int cacheId) |
void |
lastFullSnapshotId(int cacheId,
long id) |
public StartFullSnapshotDiscoveryMessage(long globalSnapshotId,
Collection<String> cacheNames,
UUID initiatorId,
boolean fullSnapshot,
String msg)
cacheNames - Cache names.msg - message to logpublic void error(Exception err)
err - Error.public boolean hasError()
True if message contains error.public Exception error()
public UUID initiatorId()
public IgniteUuid id()
id in interface DiscoveryCustomMessagepublic long globalSnapshotId()
public Collection<String> cacheNames()
public boolean fullSnapshot()
public Long lastFullSnapshotId(int cacheId)
cacheId - Cache id.public void lastFullSnapshotId(int cacheId,
long id)
cacheId - Cache id.id - 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.public void fullSnapshot(boolean full)
full - full snapshot.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017