| 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.setGlobalName(String name)
Set the name of this actor.
|
ActorCreationOptions.Builder |
ActorCreationOptions.Builder.setJvmOptions(String jvmOptions)
Set the JVM options for the Java worker that this actor is running in.
|
ActorCreationOptions.Builder |
ActorCreationOptions.Builder.setMaxConcurrency(int maxConcurrency)
Set the max number of concurrent calls to allow for this actor.
|
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.setName(String name)
Set the actor name of a named actor.
|
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.
|
Copyright © 2020. All rights reserved.