@Inherited @Target(value=TYPE) @Retention(value=RUNTIME) public @interface Checkpoint
| 限定符和类型 | 可选元素和说明 |
|---|---|
org.apache.flink.streaming.api.environment.CheckpointConfig.ExternalizedCheckpointCleanup |
cleanup
当任务停止时checkpoint的保持策略
|
int |
concurrent
checkpoint的并发度
|
int |
failureNumber
运行checkpoint失败的总次数
|
int |
interval
checkpoint周期(s),同value
|
org.apache.flink.streaming.api.CheckpointingMode |
mode
checkpoint的模式
|
int |
pauseBetween
两次checkpoint的最短时间间隔
|
int |
timeout
checkpoint超时时间(s)
|
boolean |
unaligned
是否开启非对齐的checkpoint
|
int |
value
checkpoint周期(s)
|
Copyright © 2024. All rights reserved.