@PublicEvolving public interface ManagedSnapshotContext
Modifier and Type | Method and Description |
---|---|
long |
getCheckpointId()
Returns the ID of the checkpoint for which the snapshot is taken.
|
long |
getCheckpointTimestamp()
Returns timestamp (wall clock time) when the master node triggered the checkpoint for which
the state snapshot is taken.
|
long getCheckpointId()
The checkpoint ID is guaranteed to be strictly monotonously increasing across checkpoints.
For two completed checkpoints A and B, ID_B > ID_A
means that
checkpoint B subsumes checkpoint A, i.e., checkpoint B contains a later
state than checkpoint A.
long getCheckpointTimestamp()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.