A - The type of the concrete actor class.public class ActorCreator<A> extends BaseActorCreator<ActorCreator<A>>
builder| 构造器和说明 |
|---|
ActorCreator(RayFuncR<A> func,
Object[] args) |
| 限定符和类型 | 方法和说明 |
|---|---|
ActorHandle<A> |
remote()
Create a java actor remotely and return a handle to the created actor.
|
ActorCreator<A> |
setConcurrencyGroups(ConcurrencyGroup... groups)
Set the concurrency groups for this actor to declare how to perform tasks concurrently.
|
ActorCreator<A> |
setJvmOptions(List<String> jvmOptions)
Set the JVM options for the Java worker that this actor is running in.
|
buildOptions, setGlobalName, setMaxConcurrency, setMaxRestarts, setName, setPlacementGroup, setResource, setResourcespublic ActorCreator<A> setJvmOptions(List<String> jvmOptions)
Note, if this is set, this actor won't share Java worker with other actors or tasks.
jvmOptions - JVM options for the Java worker that this actor is running in.ActorCreationOptions.Builder.setJvmOptions(List)public ActorHandle<A> remote()
public ActorCreator<A> setConcurrencyGroups(ConcurrencyGroup... groups)
Copyright © 2021. All rights reserved.