| Package | Description |
|---|---|
| io.ray.api.call | |
| io.ray.api.options |
| Modifier and Type | Field and Description |
|---|---|
protected ActorCreationOptions.Builder |
BaseActorCreator.builder |
| Modifier and Type | Method and Description |
|---|---|
ActorCreationOptions.Builder |
ActorCreationOptions.Builder.setAsync(boolean isAsync)
Mark the creating actor as async.
|
ActorCreationOptions.Builder |
ActorCreationOptions.Builder.setConcurrencyGroups(List<ConcurrencyGroup> concurrencyGroups)
Set the concurrency groups for this actor.
|
ActorCreationOptions.Builder |
ActorCreationOptions.Builder.setJvmOptions(List<String> jvmOptions)
Set the JVM options for the Java worker that this actor is running in.
|
ActorCreationOptions.Builder |
ActorCreationOptions.Builder.setLifetime(ActorLifetime lifetime)
Declare the lifetime of this actor.
|
ActorCreationOptions.Builder |
ActorCreationOptions.Builder.setMaxConcurrency(int maxConcurrency)
Set the max number of concurrent calls to allow for this actor.
|
ActorCreationOptions.Builder |
ActorCreationOptions.Builder.setMaxPendingCalls(int maxPendingCalls)
Set the max number of pending calls allowed on the actor handle.
|
ActorCreationOptions.Builder |
ActorCreationOptions.Builder.setMaxRestarts(int maxRestarts)
This specifies the maximum number of times that the actor should be restarted when it dies
unexpectedly.
|
ActorCreationOptions.Builder |
ActorCreationOptions.Builder.setMaxTaskRetries(int maxTaskRetries)
This specifies the maximum number of times that the actor task can be resubmitted.
|
ActorCreationOptions.Builder |
ActorCreationOptions.Builder.setName(String name)
Set the actor name of a named actor.
|
ActorCreationOptions.Builder |
ActorCreationOptions.Builder.setNamespace(String namespace) |
ActorCreationOptions.Builder |
ActorCreationOptions.Builder.setPlacementGroup(PlacementGroup group,
int bundleIndex)
Set the placement group to place this actor in.
|
ActorCreationOptions.Builder |
ActorCreationOptions.Builder.setResource(String resourceName,
Double resourceQuantity)
Set a custom resource requirement to reserve for the lifetime of this actor.
|
ActorCreationOptions.Builder |
ActorCreationOptions.Builder.setResources(Map<String,Double> resources)
Set custom resource requirements to reserve for the lifetime of this actor.
|
ActorCreationOptions.Builder |
ActorCreationOptions.Builder.setRuntimeEnv(RuntimeEnv runtimeEnv) |
Copyright © 2023. All rights reserved.