Modifier and Type | Method and Description |
---|---|
static CheckpointingMode |
CheckpointingMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CheckpointingMode[] |
CheckpointingMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Field and Description |
---|---|
static CheckpointingMode |
CheckpointConfig.DEFAULT_MODE
The default checkpoint mode: exactly once.
|
Modifier and Type | Method and Description |
---|---|
CheckpointingMode |
CheckpointConfig.getCheckpointingMode()
Gets the checkpointing mode (exactly-once vs.
|
CheckpointingMode |
StreamExecutionEnvironment.getCheckpointingMode()
Returns the checkpointing mode (exactly-once vs.
|
Modifier and Type | Method and Description |
---|---|
StreamExecutionEnvironment |
StreamExecutionEnvironment.enableCheckpointing(long interval,
CheckpointingMode mode)
Enables checkpointing for the streaming job.
|
StreamExecutionEnvironment |
StreamExecutionEnvironment.enableCheckpointing(long interval,
CheckpointingMode mode,
boolean force)
Deprecated.
Use
StreamExecutionEnvironment.enableCheckpointing(long, CheckpointingMode) instead.
Forcing checkpoints will be removed in the future. |
void |
CheckpointConfig.setCheckpointingMode(CheckpointingMode checkpointingMode)
Sets the checkpointing mode (exactly-once vs.
|
Modifier and Type | Method and Description |
---|---|
CheckpointingMode |
StreamConfig.getCheckpointMode() |
Modifier and Type | Method and Description |
---|---|
void |
StreamConfig.setCheckpointMode(CheckpointingMode mode) |
Modifier and Type | Method and Description |
---|---|
CheckpointingMode |
StreamingRuntimeContext.getCheckpointMode()
Returns the checkpointing mode.
|
Modifier and Type | Method and Description |
---|---|
static CheckpointedInputGate |
InputProcessorUtil.createCheckpointedInputGate(AbstractInvokable toNotifyOnCheckpoint,
CheckpointingMode checkpointMode,
IOManager ioManager,
InputGate inputGate,
Configuration taskManagerConfig,
String taskName) |
static CheckpointedInputGate[] |
InputProcessorUtil.createCheckpointedInputGatePair(AbstractInvokable toNotifyOnCheckpoint,
CheckpointingMode checkpointMode,
IOManager ioManager,
InputGate inputGate1,
InputGate inputGate2,
Configuration taskManagerConfig,
String taskName) |
Constructor and Description |
---|
StreamOneInputProcessor(InputGate[] inputGates,
TypeSerializer<IN> inputSerializer,
StreamTask<?,?> checkpointedTask,
CheckpointingMode checkpointMode,
Object lock,
IOManager ioManager,
Configuration taskManagerConfig,
StreamStatusMaintainer streamStatusMaintainer,
OneInputStreamOperator<IN,?> streamOperator,
TaskIOMetricGroup metrics,
WatermarkGauge watermarkGauge,
String taskName,
OperatorChain<?,?> operatorChain) |
StreamTwoInputProcessor(Collection<InputGate> inputGates1,
Collection<InputGate> inputGates2,
TypeSerializer<IN1> inputSerializer1,
TypeSerializer<IN2> inputSerializer2,
TwoInputStreamTask<IN1,IN2,?> checkpointedTask,
CheckpointingMode checkpointMode,
Object lock,
IOManager ioManager,
Configuration taskManagerConfig,
StreamStatusMaintainer streamStatusMaintainer,
TwoInputStreamOperator<IN1,IN2,?> streamOperator,
TaskIOMetricGroup metrics,
WatermarkGauge input1WatermarkGauge,
WatermarkGauge input2WatermarkGauge,
String taskName,
OperatorChain<?,?> operatorChain) |
StreamTwoInputSelectableProcessor(Collection<InputGate> inputGates1,
Collection<InputGate> inputGates2,
TypeSerializer<IN1> inputSerializer1,
TypeSerializer<IN2> inputSerializer2,
StreamTask<?,?> streamTask,
CheckpointingMode checkpointingMode,
Object lock,
IOManager ioManager,
Configuration taskManagerConfig,
StreamStatusMaintainer streamStatusMaintainer,
TwoInputStreamOperator<IN1,IN2,?> streamOperator,
WatermarkGauge input1WatermarkGauge,
WatermarkGauge input2WatermarkGauge,
String taskName,
OperatorChain<?,?> operatorChain) |
Modifier and Type | Method and Description |
---|---|
CheckpointingMode |
DummyStreamExecutionEnvironment.getCheckpointingMode() |
Modifier and Type | Method and Description |
---|---|
StreamExecutionEnvironment |
DummyStreamExecutionEnvironment.enableCheckpointing(long interval,
CheckpointingMode mode) |
StreamExecutionEnvironment |
DummyStreamExecutionEnvironment.enableCheckpointing(long interval,
CheckpointingMode mode,
boolean force) |
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.