mirror of
https://github.com/vale981/ray
synced 2025-03-05 18:11:42 -05:00
[Java] Remove out of date comment. (#21073)
The semantic of `setName` API is changed, but the comment is out of date. This PR fixes it.
This commit is contained in:
parent
33a45e55df
commit
bd502e8bd5
1 changed files with 1 additions and 4 deletions
|
@ -1,6 +1,5 @@
|
||||||
package io.ray.api.call;
|
package io.ray.api.call;
|
||||||
|
|
||||||
import io.ray.api.Ray;
|
|
||||||
import io.ray.api.options.ActorCreationOptions;
|
import io.ray.api.options.ActorCreationOptions;
|
||||||
import io.ray.api.placementgroup.PlacementGroup;
|
import io.ray.api.placementgroup.PlacementGroup;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
@ -14,9 +13,7 @@ public class BaseActorCreator<T extends BaseActorCreator> {
|
||||||
protected ActorCreationOptions.Builder builder = new ActorCreationOptions.Builder();
|
protected ActorCreationOptions.Builder builder = new ActorCreationOptions.Builder();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the actor name of a named actor. This named actor is only accessible from this job by this
|
* Set the actor name of a named actor.
|
||||||
* name via {@link Ray#getActor(java.lang.String)}. If you want create a named actor that is
|
|
||||||
* accessible from all jobs, use {@link BaseActorCreator#setGlobalName(java.lang.String)} instead.
|
|
||||||
*
|
*
|
||||||
* @param name The name of the named actor.
|
* @param name The name of the named actor.
|
||||||
* @return self
|
* @return self
|
||||||
|
|
Loading…
Add table
Reference in a new issue