T - The type of the state.public class StateCheckpoint<T> extends Object implements Serializable
OperatorState. This
checkpoints will be used to backup states in stateful Flink operators and
also to restore them in case of node failure. To allow incremental
checkpoints override the #update(StateCheckpoint) method.| Modifier and Type | Field and Description |
|---|---|
OperatorState<T> |
checkpointedState |
| Constructor and Description |
|---|
StateCheckpoint(OperatorState<T> operatorState)
Creates a state checkpoint from the given
OperatorState |
| Modifier and Type | Method and Description |
|---|---|
OperatorState<T> |
restore() |
boolean |
stateEquals(StateCheckpoint<T> other) |
String |
toString() |
public OperatorState<T> checkpointedState
public StateCheckpoint(OperatorState<T> operatorState)
OperatorStateoperatorState - The OperatorState to checkpoint.public OperatorState<T> restore()
public boolean stateEquals(StateCheckpoint<T> other)
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.