public class EarliestCheckpointMapSnapshot extends IgniteDataTransferObject
CheckpointHistory.| Constructor and Description |
|---|
EarliestCheckpointMapSnapshot()
Default constructor.
|
EarliestCheckpointMapSnapshot(Set<UUID> checkpointIds,
Map<UUID,Map<Integer,org.apache.ignite.internal.processors.cache.persistence.checkpoint.EarliestCheckpointMapSnapshot.GroupStateSnapshot>> earliestCp)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkpointWasPresent(UUID checkpointId)
Returns
true if a checkpoint was present during the snapshot capture, false otherwise. |
@Nullable Map<Integer,CheckpointEntry.GroupState> |
groupState(UUID checkpointId)
Gets a group state by a checkpoint id.
|
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
getProtocolVersion, readExternal, toList, toSet, writeExternalpublic EarliestCheckpointMapSnapshot(Set<UUID> checkpointIds, Map<UUID,Map<Integer,org.apache.ignite.internal.processors.cache.persistence.checkpoint.EarliestCheckpointMapSnapshot.GroupStateSnapshot>> earliestCp)
public EarliestCheckpointMapSnapshot()
@Nullable public @Nullable Map<Integer,CheckpointEntry.GroupState> groupState(UUID checkpointId)
checkpointId - Checkpoint id.public boolean checkpointWasPresent(UUID checkpointId)
true if a checkpoint was present during the snapshot capture, false otherwise.checkpointId - Checkpoint id.true if checkpoint was present, false otherwise.protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData in class IgniteDataTransferObjectout - Output object to write data content.IOException - If I/O errors occur.protected void readExternalData(byte protoVer,
ObjectInput in)
throws IOException,
ClassNotFoundException
readExternalData in class IgniteDataTransferObjectprotoVer - Input object version.in - Input object to load data content.IOException - If I/O errors occur.ClassNotFoundException - If the class for an object being restored cannot be found.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023