| 程序包 | 说明 |
|---|---|
| io.ray.streaming.runtime.context | |
| io.ray.streaming.runtime.context.impl | |
| io.ray.streaming.runtime.util | |
| io.ray.streaming.runtime.worker |
| 限定符和类型 | 方法和说明 |
|---|---|
static ContextBackend |
ContextBackendFactory.getContextBackend(StreamingGlobalConfig config) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AtomicFsBackend
Achieves an atomic `put` method. known issue: if you crashed while write a key at first time,
this code will not work.
|
class |
LocalFileContextBackend
This context backend uses local file system and doesn't supports failover in cluster.
|
class |
MemoryContextBackend
This context backend uses memory and doesn't supports failover.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
CheckpointStateUtil.get(ContextBackend checkpointState,
String cpKey)
DO NOT ALLOW GET EXCEPTION WHEN LOADING CHECKPOINT
|
static void |
CheckpointStateUtil.put(ContextBackend checkpointState,
String key,
byte[] val)
ALLOW PUT EXCEPTION WHEN SAVING CHECKPOINT
|
| 限定符和类型 | 字段和说明 |
|---|---|
ContextBackend |
JobWorker.contextBackend |
Copyright © 2021. All rights reserved.