Package io.ray.api
Interface ObjectRef<T>
- Type Parameters:
T- The object type.
public interface ObjectRef<T>
Represents a reference to an object in the object store.
-
Method Summary
-
Method Details
-
get
T get()Fetch the object from the object store, this method will block until the object is locally available. -
get
Fetch the object from the object store, this method will block until the object is locally available.- Parameters:
timeoutMs- The maximum amount of time in miliseconds to wait before returning.- Throws:
RayTimeoutException- If it's timeout to get the object.
-