| Package | Description |
|---|---|
| io.ray.api | |
| io.ray.api.call | |
| io.ray.api.parallelactor | |
| io.ray.api.runtime |
| Modifier and Type | Method and Description |
|---|---|
static <T> ObjectRef<T> |
Ray.put(T obj)
Store an object in the object store.
|
static <T> ObjectRef<T> |
Ray.put(T obj,
BaseActorHandle owner)
Store an object in the object store and assign its ownership to owner.
|
| Modifier and Type | Method and Description |
|---|---|
List<ObjectRef<T>> |
WaitResult.getReady()
Get the list of ready objects.
|
List<ObjectRef<T>> |
WaitResult.getUnready()
Get the list of unready objects.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
Ray.get(ObjectRef<T> objectRef)
Get an object by `ObjectRef` from the object store.
|
static <T> T |
Ray.get(ObjectRef<T> objectRef,
long timeoutMs)
Get an object by `ObjectRef` from the object store.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> List<T> |
Ray.get(List<ObjectRef<T>> objectList)
Get a list of objects by `ObjectRef`s from the object store.
|
static <T> List<T> |
Ray.get(List<ObjectRef<T>> objectList,
long timeoutMs)
Get a list of objects by `ObjectRef`s from the object store.
|
static <T> WaitResult<T> |
Ray.wait(List<ObjectRef<T>> waitList)
Wait for a list of RayObjects to be locally available.
|
static <T> WaitResult<T> |
Ray.wait(List<ObjectRef<T>> waitList,
int numReturns)
Wait for a list of RayObjects to be locally available, until specified number of objects are
ready.
|
static <T> WaitResult<T> |
Ray.wait(List<ObjectRef<T>> waitList,
int numReturns,
int timeoutMs)
Wait for a list of RayObjects to be locally available, until specified number of objects are
ready, or specified timeout has passed.
|
static <T> WaitResult<T> |
Ray.wait(List<ObjectRef<T>> waitList,
int numReturns,
int timeoutMs,
boolean fetchLocal)
Wait for a list of RayObjects to be available, until specified number of objects are ready, or
specified timeout has passed.
|
| Constructor and Description |
|---|
WaitResult(List<ObjectRef<T>> ready,
List<ObjectRef<T>> unready) |
WaitResult(List<ObjectRef<T>> ready,
List<ObjectRef<T>> unready) |
| Modifier and Type | Method and Description |
|---|---|
ObjectRef<R> |
CppTaskCaller.remote()
Execute a cpp function remotely and return an object reference to the result object in the
object store.
|
ObjectRef<R> |
PyTaskCaller.remote()
Execute a python function remotely and return an object reference to the result object in the
object store.
|
ObjectRef<R> |
TaskCaller.remote()
Execute a java function remotely and return an object reference to the result object in the
object store.
|
ObjectRef<R> |
PyActorTaskCaller.remote()
Execute a python actor method remotely and return an object reference to the result object in
the object store.
|
ObjectRef<R> |
CppActorTaskCaller.remote()
Execute a cpp actor method remotely and return an object reference to the result object in the
object store.
|
ObjectRef<R> |
ActorTaskCaller.remote()
Execute an java actor method remotely and return an object reference to the result object in
the object store.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectRef<R> |
ParallelActorTaskCaller.remote() |
<A,R> ObjectRef<R> |
ParallelActorContext.submitTask(ParallelActorHandle<A> parallelActorHandle,
int instanceId,
RayFunc func,
Object[] args) |
| Modifier and Type | Method and Description |
|---|---|
ObjectRef |
RayRuntime.call(CppFunction cppFunction,
Object[] args,
CallOptions options) |
ObjectRef |
RayRuntime.call(PyFunction pyFunction,
Object[] args,
CallOptions options)
Invoke a remote Python function.
|
ObjectRef |
RayRuntime.call(RayFunc func,
Object[] args,
CallOptions options)
Invoke a remote function.
|
ObjectRef |
RayRuntime.callActor(ActorHandle<?> actor,
RayFunc func,
Object[] args,
CallOptions options)
Invoke a remote function on an actor.
|
ObjectRef |
RayRuntime.callActor(CppActorHandle cppActor,
CppActorMethod cppActorMethod,
Object[] args)
Invoke a remote Cpp function on an actor.
|
ObjectRef |
RayRuntime.callActor(PyActorHandle pyActor,
PyActorMethod pyActorMethod,
Object[] args)
Invoke a remote Python function on an actor.
|
<T> ObjectRef<T> |
RayRuntime.put(T obj)
Store an object in the object store.
|
<T> ObjectRef<T> |
RayRuntime.put(T obj,
BaseActorHandle owner)
Store an object in the object store, and assign its ownership to owner.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
RayRuntime.get(ObjectRef<T> objectRef)
Get an object from the object store.
|
<T> T |
RayRuntime.get(ObjectRef<T> objectRef,
long timeoutMs)
Get an object from the object store.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RayRuntime.free(List<ObjectRef<?>> objectRefs,
boolean localOnly)
Free a list of objects from Plasma Store.
|
<T> List<T> |
RayRuntime.get(List<ObjectRef<T>> objectRefs)
Get a list of objects from the object store.
|
<T> List<T> |
RayRuntime.get(List<ObjectRef<T>> objectRefs,
long timeoutMs)
Get a list of objects from the object store.
|
<T> WaitResult<T> |
RayRuntime.wait(List<ObjectRef<T>> waitList,
int numReturns,
int timeoutMs,
boolean fetchLocal)
Wait for a list of RayObjects to be available, until specified number of objects are ready, or
specified timeout has passed.
|
Copyright © 2024. All rights reserved.