Java Code Examples for org.apache.flink.streaming.api.CheckpointingMode#values()

The following examples show how to use org.apache.flink.streaming.api.CheckpointingMode#values() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: Flink-CEPplus   File: StreamConfig.java    License: Apache License 2.0 5 votes vote down vote up
public CheckpointingMode getCheckpointMode() {
	int ordinal = config.getInteger(CHECKPOINT_MODE, -1);
	if (ordinal >= 0) {
		return CheckpointingMode.values()[ordinal];
	} else {
		return DEFAULT_CHECKPOINTING_MODE;
	}
}
 
Example 2
Source Project: flink   File: StreamConfig.java    License: Apache License 2.0 5 votes vote down vote up
public CheckpointingMode getCheckpointMode() {
	int ordinal = config.getInteger(CHECKPOINT_MODE, -1);
	if (ordinal >= 0) {
		return CheckpointingMode.values()[ordinal];
	} else {
		return DEFAULT_CHECKPOINTING_MODE;
	}
}
 
Example 3
Source Project: flink   File: StreamConfig.java    License: Apache License 2.0 5 votes vote down vote up
public CheckpointingMode getCheckpointMode() {
	int ordinal = config.getInteger(CHECKPOINT_MODE, -1);
	if (ordinal >= 0) {
		return CheckpointingMode.values()[ordinal];
	} else {
		return DEFAULT_CHECKPOINTING_MODE;
	}
}