mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 05:25:28 +08:00
[Java] Add Plasma Free to Java code path (#2802)
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user