public class SnapshotMetadata extends Object implements Serializable
| Constructor and Description |
|---|
SnapshotMetadata(UUID rqId,
String snpName,
String consId,
String folderName,
int pageSize,
List<Integer> grpIds,
Set<String> bltNodes,
Set<GroupPartitionId> pairs) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
baselineNodes() |
List<Integer> |
cacheGroupIds() |
String |
consistentId() |
boolean |
equals(Object o) |
String |
folderName() |
int |
hashCode() |
int |
pageSize() |
Map<Integer,Set<Integer>> |
partitions() |
UUID |
requestId() |
boolean |
sameSnapshot(SnapshotMetadata compare) |
String |
snapshotName() |
String |
toString() |
public SnapshotMetadata(UUID rqId, String snpName, String consId, String folderName, int pageSize, List<Integer> grpIds, Set<String> bltNodes, Set<GroupPartitionId> pairs)
rqId - Unique snapshot request id.snpName - Snapshot name.consId - Consistent id of a node to which this metadata relates.folderName - Directory name which stores the data files.pageSize - Page size of stored snapshot data.grpIds - The list of cache groups ids which were included into snapshot.bltNodes - The set of affected by snapshot baseline nodes.public UUID requestId()
public String snapshotName()
public String consistentId()
public String folderName()
public int pageSize()
public List<Integer> cacheGroupIds()
public Set<String> baselineNodes()
public Map<Integer,Set<Integer>> partitions()
public boolean sameSnapshot(SnapshotMetadata compare)
compare - Snapshot metadata to compare.true if given metadata belongs to the same snapshot.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021