public class CheckpointMetadata extends Object implements Disposable
Constructor and Description |
---|
CheckpointMetadata(long checkpointId,
Collection<OperatorState> operatorStates,
Collection<MasterState> masterStates) |
CheckpointMetadata(long checkpointId,
Collection<OperatorState> operatorStates,
Collection<MasterState> masterStates,
CheckpointProperties properties) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes the object and releases all resources.
|
long |
getCheckpointId() |
CheckpointProperties |
getCheckpointProperties() |
Collection<MasterState> |
getMasterStates() |
Collection<OperatorState> |
getOperatorStates() |
String |
toString() |
CheckpointMetadata |
withProperties(CheckpointProperties properties) |
public CheckpointMetadata(long checkpointId, Collection<OperatorState> operatorStates, Collection<MasterState> masterStates)
public CheckpointMetadata(long checkpointId, Collection<OperatorState> operatorStates, Collection<MasterState> masterStates, @Nullable CheckpointProperties properties)
public long getCheckpointId()
public Collection<OperatorState> getOperatorStates()
public Collection<MasterState> getMasterStates()
public void dispose() throws Exception
Disposable
dispose
in interface Disposable
Exception
- if something goes wrong during disposal.@Nullable public CheckpointProperties getCheckpointProperties()
public CheckpointMetadata withProperties(CheckpointProperties properties)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.