Represents a reference to an object in the object store. @param The object type.
| 6 | * @param <T> The object type. |
| 7 | */ |
| 8 | public 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 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…