- free(List<ObjectRef<?>>, boolean) - 接口 中的方法io.ray.api.runtime.RayRuntime
-
Free a list of objects from Plasma Store.
- fromByteBuffer(ByteBuffer) - 类 中的静态方法io.ray.api.id.ActorId
-
- fromByteBuffer(ByteBuffer) - 类 中的静态方法io.ray.api.id.JobId
-
Creates a JobId from the given ByteBuffer.
- fromByteBuffer(ByteBuffer) - 类 中的静态方法io.ray.api.id.ObjectId
-
Create an ObjectId from a ByteBuffer.
- fromByteBuffer(ByteBuffer) - 类 中的静态方法io.ray.api.id.PlacementGroupId
-
Creates a PlacementGroupId from the given ByteBuffer.
- fromByteBuffer(ByteBuffer) - 类 中的静态方法io.ray.api.id.TaskId
-
Creates a TaskId from a ByteBuffer.
- fromByteBuffer(ByteBuffer) - 类 中的静态方法io.ray.api.id.UniqueId
-
Creates a UniqueId from a ByteBuffer.
- fromBytes(byte[]) - 类 中的静态方法io.ray.api.id.ActorId
-
- fromBytes(byte[]) - 类 中的静态方法io.ray.api.id.JobId
-
Create a JobId from byte array.
- fromBytes(byte[]) - 类 中的静态方法io.ray.api.id.PlacementGroupId
-
Create a PlacementGroupId instance according to the given bytes.
- fromBytes(byte[]) - 类 中的静态方法io.ray.api.id.TaskId
-
Creates a TaskId from given bytes.
- fromHexString(String) - 类 中的静态方法io.ray.api.id.JobId
-
Create a JobId from a given hex string.
- fromHexString(String) - 类 中的静态方法io.ray.api.id.TaskId
-
Create a TaskId from a hex string.
- fromHexString(String) - 类 中的静态方法io.ray.api.id.UniqueId
-
Create a UniqueId from a hex string.
- fromInt(int) - 类 中的静态方法io.ray.api.id.JobId
-
- fromRandom() - 类 中的静态方法io.ray.api.id.ActorId
-
Generate an ActorId with random value.
- fromRandom() - 类 中的静态方法io.ray.api.id.ObjectId
-
Generate an ObjectId with random value.
- fromRandom() - 类 中的静态方法io.ray.api.id.PlacementGroupId
-
Generate an PlacementGroupId with random value.
- functionName - 类 中的变量io.ray.api.function.PyFunction
-
- get() - 接口 中的方法io.ray.api.ObjectRef
-
Fetch the object from the object store, this method will block until the object is locally
available.
- get(ObjectRef<T>) - 类 中的静态方法io.ray.api.Ray
-
Get an object by `ObjectRef` from the object store.
- get(List<ObjectRef<T>>) - 类 中的静态方法io.ray.api.Ray
-
Get a list of objects by `ObjectRef`s from the object store.
- get(ObjectRef<T>) - 接口 中的方法io.ray.api.runtime.RayRuntime
-
Get an object from the object store.
- get(List<ObjectRef<T>>) - 接口 中的方法io.ray.api.runtime.RayRuntime
-
Get a list of objects from the object store.
- getActor(String) - 类 中的静态方法io.ray.api.Ray
-
Get a handle to a named actor of current job.
- getActor(String, boolean) - 接口 中的方法io.ray.api.runtime.RayRuntime
-
Get a handle to a named actor.
- getActorHandle(ActorId) - 接口 中的方法io.ray.api.runtime.RayRuntime
-
- getAllNodeInfo() - 接口 中的方法io.ray.api.runtimecontext.RuntimeContext
-
Get all node information in Ray cluster.
- getAllPlacementGroups() - 类 中的静态方法io.ray.api.PlacementGroups
-
Get all placement groups in this cluster.
- getAllPlacementGroups() - 类 中的静态方法io.ray.api.Ray
-
- getAllPlacementGroups() - 接口 中的方法io.ray.api.runtime.RayRuntime
-
Get all placement groups in this cluster.
- getAsyncContext() - 类 中的静态方法io.ray.api.Ray
-
- getAsyncContext() - 接口 中的方法io.ray.api.runtime.RayRuntime
-
- getBundles() - 接口 中的方法io.ray.api.placementgroup.PlacementGroup
-
Get all bundles which key is resource name and value is resource value.
- getBytes() - 类 中的方法io.ray.api.id.BaseId
-
Get the byte data of this id.
- getClassName() - 接口 中的方法io.ray.api.PyActorHandle
-
Returns the name of the Python actor class.
- getCurrentActorHandle() - 接口 中的方法io.ray.api.runtimecontext.RuntimeContext
-
Get the handle to the current actor itself.
- getCurrentActorId() - 接口 中的方法io.ray.api.runtimecontext.RuntimeContext
-
Get the current actor ID.
- getCurrentJobId() - 接口 中的方法io.ray.api.runtimecontext.RuntimeContext
-
Get the current Job ID.
- getCurrentTaskId() - 接口 中的方法io.ray.api.runtimecontext.RuntimeContext
-
Get current task ID.
- getGlobalActor(String) - 类 中的静态方法io.ray.api.Ray
-
Get a handle to a global named actor.
- getGlobalPlacementGroup(String) - 类 中的静态方法io.ray.api.PlacementGroups
-
Get a placement group by placement group name from all jobs.
- getGlobalPlacementGroup(String) - 类 中的静态方法io.ray.api.Ray
-
- getId() - 接口 中的方法io.ray.api.BaseActorHandle
-
Returns the id of this actor.
- getId() - 接口 中的方法io.ray.api.placementgroup.PlacementGroup
-
Get the id of current placement group.
- getModuleName() - 接口 中的方法io.ray.api.PyActorHandle
-
Returns the module name of the Python actor class.
- getName() - 接口 中的方法io.ray.api.placementgroup.PlacementGroup
-
Get the name of current placement group.
- getPlacementGroup(PlacementGroupId) - 类 中的静态方法io.ray.api.PlacementGroups
-
Get a placement group by placement group Id.
- getPlacementGroup(String) - 类 中的静态方法io.ray.api.PlacementGroups
-
Get a placement group by placement group name from current job.
- getPlacementGroup(PlacementGroupId) - 类 中的静态方法io.ray.api.Ray
-
- getPlacementGroup(String) - 类 中的静态方法io.ray.api.Ray
-
- getPlacementGroup(PlacementGroupId) - 接口 中的方法io.ray.api.runtime.RayRuntime
-
Get a placement group by id.
- getPlacementGroup(String, boolean) - 接口 中的方法io.ray.api.runtime.RayRuntime
-
Get a placement group by name.
- getReady() - 类 中的方法io.ray.api.WaitResult
-
Get the list of ready objects.
- getRuntimeContext() - 类 中的静态方法io.ray.api.Ray
-
Get the runtime context.
- getRuntimeContext() - 接口 中的方法io.ray.api.runtime.RayRuntime
-
- getState() - 接口 中的方法io.ray.api.placementgroup.PlacementGroup
-
Get the state of current placement group.
- getStrategy() - 接口 中的方法io.ray.api.placementgroup.PlacementGroup
-
Get the strategy of current placement group.
- getUnready() - 类 中的方法io.ray.api.WaitResult
-
Get the list of unready objects.
- global - 类 中的变量io.ray.api.options.ActorCreationOptions
-
- global - 类 中的变量io.ray.api.options.PlacementGroupCreationOptions
-
- group - 类 中的变量io.ray.api.options.ActorCreationOptions
-
- group - 类 中的变量io.ray.api.options.CallOptions
-
- PlacementGroup - io.ray.api.placementgroup中的接口
-
A placement group is used to place interdependent actors according to a specific strategy
PlacementStrategy.
- PlacementGroupCreationOptions - io.ray.api.options中的类
-
The options for creating placement group.
- PlacementGroupCreationOptions(boolean, String, List<Map<String, Double>>, PlacementStrategy) - 类 的构造器io.ray.api.options.PlacementGroupCreationOptions
-
- PlacementGroupCreationOptions.Builder - io.ray.api.options中的类
-
The inner class for building PlacementGroupCreationOptions.
- PlacementGroupId - io.ray.api.id中的类
-
Represents the id of a placement group.
- PlacementGroups - io.ray.api中的类
-
This class contains all public APIs of Placement Group.
- PlacementGroups() - 类 的构造器io.ray.api.PlacementGroups
-
- PlacementGroupState - io.ray.api.placementgroup中的枚举
-
State of placement group.
- PlacementStrategy - io.ray.api.placementgroup中的枚举
-
The actor placement strategy.
- put(T) - 类 中的静态方法io.ray.api.Ray
-
Store an object in the object store.
- put(T, BaseActorHandle) - 类 中的静态方法io.ray.api.Ray
-
Store an object in the object store and assign its ownership to owner.
- put(T) - 接口 中的方法io.ray.api.runtime.RayRuntime
-
Store an object in the object store.
- put(T, BaseActorHandle) - 接口 中的方法io.ray.api.runtime.RayRuntime
-
Store an object in the object store, and assign its ownership to owner.
- PyActorClass - io.ray.api.function中的类
-
A class that represents a Python actor class.
- PyActorCreator - io.ray.api.call中的类
-
A helper to create python actor.
- PyActorCreator(PyActorClass, Object[]) - 类 的构造器io.ray.api.call.PyActorCreator
-
- PyActorHandle - io.ray.api中的接口
-
Handle of a Python actor.
- PyActorMethod<R> - io.ray.api.function中的类
-
A class that represents a method of a Python actor.
- PyActorTaskCaller<R> - io.ray.api.call中的类
-
A helper to call python actor method.
- PyActorTaskCaller(PyActorHandle, PyActorMethod<R>, Object[]) - 类 的构造器io.ray.api.call.PyActorTaskCaller
-
- PyFunction<R> - io.ray.api.function中的类
-
A class that represents a Python remote function.
- PyTaskCaller<R> - io.ray.api.call中的类
-
A helper to call python remote function.
- PyTaskCaller(PyFunction<R>, Object[]) - 类 的构造器io.ray.api.call.PyTaskCaller
-
- randomId() - 类 中的静态方法io.ray.api.id.UniqueId
-
Generate an UniqueId with random value.
- Ray - io.ray.api中的类
-
This class contains all public APIs of Ray.
- Ray() - 类 的构造器io.ray.api.Ray
-
- RayFunc - io.ray.api.function中的接口
-
Base interface of all Ray remote java functions.
- RayFunc0<R> - io.ray.api.function中的接口
-
Functional interface for a remote function that has 0 parameter.
- RayFunc1<T0,R> - io.ray.api.function中的接口
-
Functional interface for a remote function that has 1 parameter.
- RayFunc2<T0,T1,R> - io.ray.api.function中的接口
-
Functional interface for a remote function that has 2 parameters.
- RayFunc3<T0,T1,T2,R> - io.ray.api.function中的接口
-
Functional interface for a remote function that has 3 parameters.
- RayFunc4<T0,T1,T2,T3,R> - io.ray.api.function中的接口
-
Functional interface for a remote function that has 4 parameters.
- RayFunc5<T0,T1,T2,T3,T4,R> - io.ray.api.function中的接口
-
Functional interface for a remote function that has 5 parameters.
- RayFunc6<T0,T1,T2,T3,T4,T5,R> - io.ray.api.function中的接口
-
Functional interface for a remote function that has 6 parameters.
- RayFuncR<R> - io.ray.api.function中的接口
-
Interface of all Ray remote functions which have a return value.
- RayFuncVoid - io.ray.api.function中的接口
-
Interface of all `RayFuncVoidX` classes.
- RayFuncVoid0 - io.ray.api.function中的接口
-
Functional interface for a remote function that has 0 parameter.
- RayFuncVoid1<T0> - io.ray.api.function中的接口
-
Functional interface for a remote function that has 1 parameter.
- RayFuncVoid2<T0,T1> - io.ray.api.function中的接口
-
Functional interface for a remote function that has 2 parameters.
- RayFuncVoid3<T0,T1,T2> - io.ray.api.function中的接口
-
Functional interface for a remote function that has 3 parameters.
- RayFuncVoid4<T0,T1,T2,T3> - io.ray.api.function中的接口
-
Functional interface for a remote function that has 4 parameters.
- RayFuncVoid5<T0,T1,T2,T3,T4> - io.ray.api.function中的接口
-
Functional interface for a remote function that has 5 parameters.
- RayFuncVoid6<T0,T1,T2,T3,T4,T5> - io.ray.api.function中的接口
-
Functional interface for a remote function that has 6 parameters.
- rayletSocketName - 类 中的变量io.ray.api.runtimecontext.NodeInfo
-
- RayRuntime - io.ray.api.runtime中的接口
-
Base interface of a Ray runtime.
- RayRuntimeFactory - io.ray.api.runtime中的接口
-
A factory that produces a RayRuntime instance.
- remote() - 类 中的方法io.ray.api.call.ActorCreator
-
Create a java actor remotely and return a handle to the created actor.
- remote() - 类 中的方法io.ray.api.call.ActorTaskCaller
-
Execute an java actor method remotely and return an object reference to the result object in
the object store.
- remote() - 类 中的方法io.ray.api.call.PyActorCreator
-
Create a python actor remotely and return a handle to the created actor.
- remote() - 类 中的方法io.ray.api.call.PyActorTaskCaller
-
Execute a python actor method remotely and return an object reference to the result object in
the object store.
- remote() - 类 中的方法io.ray.api.call.PyTaskCaller
-
Execute a python function remotely and return an object reference to the result object in the
object store.
- remote() - 类 中的方法io.ray.api.call.TaskCaller
-
Execute a java function remotely and return an object reference to the result object in the
object store.
- remote() - 类 中的方法io.ray.api.call.VoidActorTaskCaller
-
Execute a function remotely.
- remote() - 类 中的方法io.ray.api.call.VoidTaskCaller
-
Execute a function remotely.
- removePlacementGroup(PlacementGroupId) - 类 中的静态方法io.ray.api.PlacementGroups
-
Remove a placement group by id.
- removePlacementGroup(PlacementGroupId) - 类 中的静态方法io.ray.api.Ray
-
- removePlacementGroup(PlacementGroupId) - 接口 中的方法io.ray.api.runtime.RayRuntime
-
Remove a placement group by id.
- resources - 类 中的变量io.ray.api.options.BaseTaskOptions
-
- resources - 类 中的变量io.ray.api.runtimecontext.NodeInfo
-
- returnType - 类 中的变量io.ray.api.function.PyActorMethod
-
- returnType - 类 中的变量io.ray.api.function.PyFunction
-
- RuntimeContext - io.ray.api.runtimecontext中的接口
-
A class used for getting information of Ray runtime.
- setAsyncContext(Object) - 类 中的静态方法io.ray.api.Ray
-
Set the async context for the current thread.
- setAsyncContext(Object) - 接口 中的方法io.ray.api.runtime.RayRuntime
-
- setBundles(List<Map<String, Double>>) - 类 中的方法io.ray.api.options.PlacementGroupCreationOptions.Builder
-
Set the Pre-allocated resource list.
- setConcurrencyGroup(String) - 类 中的方法io.ray.api.call.ActorTaskCaller
-
- setConcurrencyGroup(String) - 类 中的方法io.ray.api.call.VoidActorTaskCaller
-
- setConcurrencyGroupName(String) - 类 中的方法io.ray.api.options.CallOptions.Builder
-
- setConcurrencyGroups(ConcurrencyGroup...) - 类 中的方法io.ray.api.call.ActorCreator
-
Set the concurrency groups for this actor to declare how to perform tasks concurrently.
- setConcurrencyGroups(List<ConcurrencyGroup>) - 类 中的方法io.ray.api.options.ActorCreationOptions.Builder
-
Set the concurrency groups for this actor.
- setGlobalName(String) - 类 中的方法io.ray.api.call.BaseActorCreator
-
Set the name of this actor.
- setGlobalName(String) - 类 中的方法io.ray.api.options.ActorCreationOptions.Builder
-
Set the name of this actor.
- setGlobalName(String) - 类 中的方法io.ray.api.options.PlacementGroupCreationOptions.Builder
-
Set the name of a named placement group.
- setJvmOptions(List<String>) - 类 中的方法io.ray.api.call.ActorCreator
-
Set the JVM options for the Java worker that this actor is running in.
- setJvmOptions(String) - 类 中的方法io.ray.api.options.ActorCreationOptions.Builder
-
- setJvmOptions(List<String>) - 类 中的方法io.ray.api.options.ActorCreationOptions.Builder
-
Set the JVM options for the Java worker that this actor is running in.
- setMaxConcurrency(int) - 类 中的方法io.ray.api.call.BaseActorCreator
-
Set the max number of concurrent calls to allow for this actor.
- setMaxConcurrency(int) - 类 中的方法io.ray.api.concurrencygroup.ConcurrencyGroupBuilder
-
- setMaxConcurrency(int) - 类 中的方法io.ray.api.options.ActorCreationOptions.Builder
-
Set the max number of concurrent calls to allow for this actor.
- setMaxRestarts(int) - 类 中的方法io.ray.api.call.BaseActorCreator
-
This specifies the maximum number of times that the actor should be restarted when it dies
unexpectedly.
- setMaxRestarts(int) - 类 中的方法io.ray.api.options.ActorCreationOptions.Builder
-
This specifies the maximum number of times that the actor should be restarted when it dies
unexpectedly.
- setName(String) - 类 中的方法io.ray.api.call.BaseActorCreator
-
Set the actor name of a named actor.
- setName(String) - 类 中的方法io.ray.api.call.BaseTaskCaller
-
Set a name for this task.
- setName(String) - 类 中的方法io.ray.api.concurrencygroup.ConcurrencyGroupBuilder
-
- setName(String) - 类 中的方法io.ray.api.options.ActorCreationOptions.Builder
-
Set the actor name of a named actor.
- setName(String) - 类 中的方法io.ray.api.options.CallOptions.Builder
-
Set a name for this task.
- setName(String) - 类 中的方法io.ray.api.options.PlacementGroupCreationOptions.Builder
-
Set the name of a named placement group.
- setPlacementGroup(PlacementGroup, int) - 类 中的方法io.ray.api.call.BaseActorCreator
-
Set the placement group to place this actor in.
- setPlacementGroup(PlacementGroup, int) - 类 中的方法io.ray.api.call.BaseTaskCaller
-
Set the placement group to place this task in.
- setPlacementGroup(PlacementGroup, int) - 类 中的方法io.ray.api.options.ActorCreationOptions.Builder
-
Set the placement group to place this actor in.
- setPlacementGroup(PlacementGroup, int) - 类 中的方法io.ray.api.options.CallOptions.Builder
-
Set the placement group to place this actor in.
- setResource(String, Double) - 类 中的方法io.ray.api.call.BaseActorCreator
-
Set a custom resource requirement to reserve for the lifetime of this actor.
- setResource(String, Double) - 类 中的方法io.ray.api.call.BaseTaskCaller
-
Set a custom resource requirement for resource name.
- setResource(String, Double) - 类 中的方法io.ray.api.options.ActorCreationOptions.Builder
-
Set a custom resource requirement to reserve for the lifetime of this actor.
- setResource(String, Double) - 类 中的方法io.ray.api.options.CallOptions.Builder
-
Set a custom resource requirement for resource name.
- setResources(Map<String, Double>) - 类 中的方法io.ray.api.call.BaseActorCreator
-
Set custom resource requirements to reserve for the lifetime of this actor.
- setResources(Map<String, Double>) - 类 中的方法io.ray.api.call.BaseTaskCaller
-
Set custom requirements for multiple resources.
- setResources(Map<String, Double>) - 类 中的方法io.ray.api.options.ActorCreationOptions.Builder
-
Set custom resource requirements to reserve for the lifetime of this actor.
- setResources(Map<String, Double>) - 类 中的方法io.ray.api.options.CallOptions.Builder
-
Set custom requirements for multiple resources.
- setStrategy(PlacementStrategy) - 类 中的方法io.ray.api.options.PlacementGroupCreationOptions.Builder
-
Set the placement strategy used to control the placement relationship between bundles.
- shutdown() - 类 中的静态方法io.ray.api.Ray
-
Shutdown Ray runtime.
- shutdown() - 接口 中的方法io.ray.api.runtime.RayRuntime
-
Shutdown the runtime.
- size() - 类 中的方法io.ray.api.id.ActorId
-
- size() - 类 中的方法io.ray.api.id.BaseId
-
Derived class should implement this function.
- size() - 类 中的方法io.ray.api.id.JobId
-
- size() - 类 中的方法io.ray.api.id.ObjectId
-
- size() - 类 中的方法io.ray.api.id.PlacementGroupId
-
- size() - 类 中的方法io.ray.api.id.TaskId
-
- size() - 类 中的方法io.ray.api.id.UniqueId
-
- strategy - 类 中的变量io.ray.api.options.PlacementGroupCreationOptions
-
- wait(int) - 接口 中的方法io.ray.api.placementgroup.PlacementGroup
-
Wait for the placement group to be ready within the specified time.
- wait(List<ObjectRef<T>>, int, int, boolean) - 类 中的静态方法io.ray.api.Ray
-
Wait for a list of RayObjects to be available, until specified number of objects are ready, or
specified timeout has passed.
- wait(List<ObjectRef<T>>, int, int) - 类 中的静态方法io.ray.api.Ray
-
Wait for a list of RayObjects to be locally available, until specified number of objects are
ready, or specified timeout has passed.
- wait(List<ObjectRef<T>>, int) - 类 中的静态方法io.ray.api.Ray
-
Wait for a list of RayObjects to be locally available, until specified number of objects are
ready.
- wait(List<ObjectRef<T>>) - 类 中的静态方法io.ray.api.Ray
-
Wait for a list of RayObjects to be locally available.
- wait(List<ObjectRef<T>>, int, int, boolean) - 接口 中的方法io.ray.api.runtime.RayRuntime
-
Wait for a list of RayObjects to be available, until specified number of objects are ready, or
specified timeout has passed.
- waitPlacementGroupReady(PlacementGroupId, int) - 接口 中的方法io.ray.api.runtime.RayRuntime
-
Wait for the placement group to be ready within the specified time.
- WaitResult<T> - io.ray.api中的类
-
Represents the result of a Ray.wait call.
- WaitResult(List<ObjectRef<T>>, List<ObjectRef<T>>) - 类 的构造器io.ray.api.WaitResult
-
- wasCurrentActorRestarted() - 接口 中的方法io.ray.api.runtimecontext.RuntimeContext
-
Returns true if the current actor was restarted, otherwise false.
- wrapCallable(Callable<T>) - 类 中的静态方法io.ray.api.Ray
-
If users want to use Ray API in their own threads, they should wrap their
Callable
objects with this method.
- wrapCallable(Callable<T>) - 接口 中的方法io.ray.api.runtime.RayRuntime
-
Wrap a
Callable with necessary context capture.
- wrapRunnable(Runnable) - 类 中的静态方法io.ray.api.Ray
-
If users want to use Ray API in their own threads, they should wrap their
Runnable
objects with this method.
- wrapRunnable(Runnable) - 接口 中的方法io.ray.api.runtime.RayRuntime
-
Wrap a
Runnable with necessary context capture.