[Java] Add Plasma Free to Java code path (#2802)

This commit is contained in:
Yuhong Guo
2018-09-04 15:28:23 +08:00
committed by Hao Chen
parent 25ffe57a5c
commit dfb7c2be1e
9 changed files with 125 additions and 4 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ public final class Ray extends RayCall {
/**
* Get the underlying runtime instance.
*/
static RayRuntime internal() {
public static RayRuntime internal() {
return runtime;
}
}
@@ -52,6 +52,14 @@ public interface RayRuntime {
*/
<T> WaitResult<T> wait(List<RayObject<T>> waitList, int numReturns, int timeoutMs);
/**
* Free a list of objects from Plasma Store.
*
* @param objectIds The object ids to free.
* @param localOnly Whether only free objects for local object store or not.
*/
void free(List<UniqueId> objectIds, boolean localOnly);
/**
* Invoke a remote function.
*