public class CheckpointStateUtil extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CheckpointStateUtil.CheckpointStateRuntimeException |
| 构造器和说明 |
|---|
CheckpointStateUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
get(ContextBackend checkpointState,
String cpKey)
DO NOT ALLOW GET EXCEPTION WHEN LOADING CHECKPOINT
|
static void |
put(ContextBackend checkpointState,
String key,
byte[] val)
ALLOW PUT EXCEPTION WHEN SAVING CHECKPOINT
|
public static byte[] get(ContextBackend checkpointState, String cpKey)
checkpointState - state backendcpKey - checkpoint keypublic static void put(ContextBackend checkpointState, String key, byte[] val)
checkpointState - state backendkey - checkpoint keyval - checkpoint valueCopyright © 2022. All rights reserved.