Package io.ray.api.parallelactor
Interface ParallelActorHandle<A>
public interface ParallelActorHandle<A>
The handle to a parallel actor.
-
Method Summary
Modifier and TypeMethodDescriptionActorHandle<?>Get the real actor handle to use.getInstance(int instanceId)Get an execution instance of the parallel actor by the given instance ID.intGet the parallelism of this parallel actor.
-
Method Details
-
getInstance
Get an execution instance of the parallel actor by the given instance ID. -
getParallelism
int getParallelism()Get the parallelism of this parallel actor. -
getHandle
ActorHandle<?> getHandle()Get the real actor handle to use.
-