T - The object type.public interface ObjectRef<T>
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Fetch the object from the object store, this method will block until the object is locally
available.
|
T |
get(long timeoutMs)
Fetch the object from the object store, this method will block until the object is locally
available.
|
T get()
T get(long timeoutMs)
timeoutMs - The maximum amount of time in miliseconds to wait before returning.RayTimeoutException - If it's timeout to get the object.Copyright © 2023. All rights reserved.