Class ActorTaskCaller<R>

java.lang.Object
io.ray.api.call.ActorTaskCaller<R>
Type Parameters:
R - The type of the java actor method return value

public class ActorTaskCaller<R> extends Object
A helper to call java actor method.
  • Constructor Details

  • Method Details

    • setConcurrencyGroup

      public ActorTaskCaller<R> setConcurrencyGroup(String name)
    • remote

      public ObjectRef<R> remote()
      Execute an java actor method remotely and return an object reference to the result object in the object store.
      Returns:
      an object reference to an object in the object store.