public class CheckpointStats extends Object
Constructor and Description |
---|
CheckpointStats(long checkpointId,
long triggerTimestamp,
long duration,
long stateSize)
Creates a checkpoint statistic.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getCheckpointId()
Returns the ID of the checkpoint.
|
long |
getDuration()
Returns the duration in milliseconds.
|
long |
getStateSize()
Returns the state size in bytes.
|
long |
getTriggerTimestamp()
Returns the timestamp when the checkpoint was triggered.
|
int |
hashCode() |
String |
toString() |
public CheckpointStats(long checkpointId, long triggerTimestamp, long duration, long stateSize)
checkpointId
- Checkpoint IDtriggerTimestamp
- Timestamp when the checkpoint was triggeredduration
- Duration (in milliseconds)stateSize
- State size (in bytes)public long getCheckpointId()
public long getTriggerTimestamp()
public long getDuration()
public long getStateSize()
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.