public class RemoteCallWorker extends Object
| 构造器和说明 |
|---|
RemoteCallWorker() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
clearExpiredCheckpointParallel(List<io.ray.api.BaseActorHandle> actors,
Long stateCheckpointId,
Long queueCheckpointId) |
static io.ray.api.ObjectRef<Boolean> |
initWorker(io.ray.api.BaseActorHandle actor,
JobWorkerContext context)
Call JobWorker actor to init.
|
static void |
notifyCheckpointTimeoutParallel(List<io.ray.api.BaseActorHandle> actors,
Long checkpointId) |
static io.ray.api.ObjectRef |
rollback(io.ray.api.BaseActorHandle actor,
Long checkpointId)
Call JobWorker actor to start.
|
static Boolean |
shutdownWithoutReconstruction(io.ray.api.BaseActorHandle actor)
Call JobWorker actor to destroy without reconstruction.
|
static io.ray.api.ObjectRef |
triggerCheckpoint(io.ray.api.BaseActorHandle actor,
Long barrierId) |
public static io.ray.api.ObjectRef<Boolean> initWorker(io.ray.api.BaseActorHandle actor, JobWorkerContext context)
actor - target JobWorker actorcontext - JobWorker's contextpublic static io.ray.api.ObjectRef rollback(io.ray.api.BaseActorHandle actor,
Long checkpointId)
actor - target JobWorker actorcheckpointId - checkpoint ID to be rollbackpublic static Boolean shutdownWithoutReconstruction(io.ray.api.BaseActorHandle actor)
actor - target JobWorker actorpublic static io.ray.api.ObjectRef triggerCheckpoint(io.ray.api.BaseActorHandle actor,
Long barrierId)
public static void clearExpiredCheckpointParallel(List<io.ray.api.BaseActorHandle> actors, Long stateCheckpointId, Long queueCheckpointId)
Copyright © 2022. All rights reserved.