| Package | Description |
|---|---|
| io.ray.api.function | |
| io.ray.api.runtime |
| Modifier and Type | Interface and Description |
|---|---|
interface |
RayFunc0<R>
Functional interface for a remote function that has 0 parameter.
|
interface |
RayFunc1<T0,R>
Functional interface for a remote function that has 1 parameter.
|
interface |
RayFunc2<T0,T1,R>
Functional interface for a remote function that has 2 parameters.
|
interface |
RayFunc3<T0,T1,T2,R>
Functional interface for a remote function that has 3 parameters.
|
interface |
RayFunc4<T0,T1,T2,T3,R>
Functional interface for a remote function that has 4 parameters.
|
interface |
RayFunc5<T0,T1,T2,T3,T4,R>
Functional interface for a remote function that has 5 parameters.
|
interface |
RayFunc6<T0,T1,T2,T3,T4,T5,R>
Functional interface for a remote function that has 6 parameters.
|
interface |
RayFuncR<R>
Interface of all Ray remote functions which have a return value
|
interface |
RayFuncVoid
Interface of all `RayFuncVoidX` classes.
|
interface |
RayFuncVoid0
Functional interface for a remote function that has 0 parameter.
|
interface |
RayFuncVoid1<T0>
Functional interface for a remote function that has 1 parameter.
|
interface |
RayFuncVoid2<T0,T1>
Functional interface for a remote function that has 2 parameters.
|
interface |
RayFuncVoid3<T0,T1,T2>
Functional interface for a remote function that has 3 parameters.
|
interface |
RayFuncVoid4<T0,T1,T2,T3>
Functional interface for a remote function that has 4 parameters.
|
interface |
RayFuncVoid5<T0,T1,T2,T3,T4>
Functional interface for a remote function that has 5 parameters.
|
interface |
RayFuncVoid6<T0,T1,T2,T3,T4,T5>
Functional interface for a remote function that has 6 parameters.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectRef |
RayRuntime.call(RayFunc func,
Object[] args,
CallOptions options)
Invoke a remote function.
|
ObjectRef |
RayRuntime.callActor(ActorHandle<?> actor,
RayFunc func,
Object[] args)
Invoke a remote function on an actor.
|
<T> ActorHandle<T> |
RayRuntime.createActor(RayFunc actorFactoryFunc,
Object[] args,
ActorCreationOptions options)
Create an actor on a remote node.
|
Copyright © 2020. All rights reserved.