public class CheckpointStateUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CheckpointStateUtil.CheckpointStateRuntimeException |
| Constructor and Description |
|---|
CheckpointStateUtil() |
| Modifier and Type | Method and Description |
|---|---|
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 © 2021. All rights reserved.