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,
@Nullable byte[] masterKeyDigest)
F@param snpName Snapshot name.
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
baselineNodes() |
List<Integer> |
cacheGroupIds() |
String |
consistentId() |
boolean |
equals(Object o) |
String |
folderName() |
int |
hashCode() |
byte[] |
masterKeyDigest() |
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, @Nullable @Nullable byte[] masterKeyDigest)
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.masterKeyDigest - Master key digest for encrypted caches.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.public byte[] masterKeyDigest()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.14.0 Release Date : September 29 2022