A - The type of the concrete actor class.public class ActorCreator<A> extends BaseActorCreator<ActorCreator<A>>
builder| Constructor and Description |
|---|
ActorCreator(RayFuncR<A> func,
Object[] args) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
ActorCreator<A> |
setRuntimeEnv(RuntimeEnv runtimeEnv) |
buildOptions, setLifetime, setMaxConcurrency, setMaxPendingCalls, setMaxRestarts, setMaxTaskRetries, setName, setName, setPlacementGroup, 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)
public ActorCreator<A> setRuntimeEnv(RuntimeEnv runtimeEnv)
Copyright © 2024. All rights reserved.