public class CheckpointMetadata extends Object implements org.apache.flink.util.Disposable
| 构造器和说明 |
|---|
CheckpointMetadata(long checkpointId,
Collection<OperatorState> operatorStates,
Collection<MasterState> masterStates) |
CheckpointMetadata(long checkpointId,
Collection<OperatorState> operatorStates,
Collection<MasterState> masterStates,
CheckpointProperties properties) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
dispose() |
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
dispose 在接口中 org.apache.flink.util.DisposableException@Nullable public CheckpointProperties getCheckpointProperties()
public CheckpointMetadata withProperties(CheckpointProperties properties)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.