MCPcopy
hub / github.com/ray-project/ray / ObjectRef

Interface ObjectRef

java/api/src/main/java/io/ray/api/ObjectRef.java:8–24  ·  view source on GitHub ↗

Represents a reference to an object in the object store. @param The object type.

Source from the content-addressed store, hash-verified

6 * @param <T> The object type.
7 */
8public interface ObjectRef<T> {
9
10 /**
11 * Fetch the object from the object store, this method will block until the object is locally
12 * available.
13 */
14 T get();
15
16 /**
17 * Fetch the object from the object store, this method will block until the object is locally
18 * available.
19 *
20 * @param timeoutMs The maximum amount of time in milliseconds to wait before returning.
21 * @throws RayTimeoutException If it's timeout to get the object.
22 */
23 T get(long timeoutMs);
24}

Callers 8

setup.pyFile · 0.65
buildFunction · 0.65
from_jsonMethod · 0.65
_init_argsMethod · 0.65
clientFunction · 0.65

Implementers 15

RuntimeContextpython/ray/runtime_context.py
ComponentRegistrypython/ray/llm/_internal/serve/utils/r
GangMasterInfoRegistrypython/ray/llm/_internal/serve/serving
CloudObjectCachepython/ray/llm/_internal/common/utils/
ReplicaResultpython/ray/serve/_private/replica_resu
ActorReplicaResultpython/ray/serve/_private/replica_resu
gRPCReplicaResultpython/ray/serve/_private/replica_resu
DeploymentActorContainerpython/ray/serve/_private/deployment_s
ReplicaStateContainerpython/ray/serve/_private/deployment_s
AvailableNodeResourcespython/ray/serve/_private/deployment_s
RequestedResourcespython/ray/serve/_private/deployment_s
LocalReplicaResultpython/ray/serve/_private/local_testin

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…