| 程序包 | 说明 |
|---|---|
| io.ray.streaming.runtime.message | |
| io.ray.streaming.runtime.rpc | |
| io.ray.streaming.runtime.rpc.async | |
| io.ray.streaming.runtime.worker |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> CallResult<T> |
CallResult.fail() |
static <T> CallResult<T> |
CallResult.fail(CallResult.CallResultEnum resultEnum,
T payload) |
static <T> CallResult<T> |
CallResult.fail(String msg) |
static <T> CallResult<T> |
CallResult.fail(T payload) |
static <T> CallResult<T> |
CallResult.skipped(String msg) |
static <T> CallResult<T> |
CallResult.success() |
static <T> CallResult<T> |
CallResult.success(T payload) |
| 限定符和类型 | 方法和说明 |
|---|---|
static CallResult<ChannelRecoverInfo> |
PbResultParser.parseRollbackResult(byte[] bytes) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AsyncRemoteCaller.batchRollback(List<io.ray.api.BaseActorHandle> actors,
Long checkpointId,
Collection<String> abnormalQueues,
RemoteCallPool.Callback<List<CallResult<ChannelRecoverInfo>>> callback,
RemoteCallPool.ExceptionHandler<Throwable> onException)
Call JobWorker::rollback async in batch
|
void |
AsyncRemoteCaller.rollback(io.ray.api.BaseActorHandle actor,
Long checkpointId,
RemoteCallPool.Callback<CallResult<ChannelRecoverInfo>> callback,
RemoteCallPool.ExceptionHandler<Throwable> onException)
Call JobWorker::rollback async
|
| 限定符和类型 | 方法和说明 |
|---|---|
CallResult<ChannelRecoverInfo> |
JobWorker.rollback(Long checkpointId,
Long startRollbackTs)
Start worker's stream tasks with specific checkpoint ID.
|
Copyright © 2021. All rights reserved.