mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 05:43:03 +08:00
[Java] Remove non-raylet code in Java. (#2828)
This commit is contained in:
@@ -3,6 +3,9 @@ package org.ray.spi.impl;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
import org.ray.api.RayObject;
|
||||
import org.ray.api.WaitResult;
|
||||
import org.ray.api.id.UniqueId;
|
||||
import org.ray.core.LocalFunctionManager;
|
||||
import org.ray.core.Worker;
|
||||
@@ -70,16 +73,6 @@ public class MockLocalScheduler implements LocalSchedulerLink {
|
||||
throw new RuntimeException("invalid execution flow here");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void markTaskPutDependency(UniqueId taskId, UniqueId objectId) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void reconstructObject(UniqueId objectId, boolean fetchOnly) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void reconstructObjects(List<UniqueId> objectIds, boolean fetchOnly) {
|
||||
|
||||
@@ -96,8 +89,8 @@ public class MockLocalScheduler implements LocalSchedulerLink {
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<byte[]> wait(byte[][] objectIds, int timeoutMs, int numReturns) {
|
||||
return store.wait(objectIds, timeoutMs, numReturns);
|
||||
public <T> WaitResult<T> wait(List<RayObject<T>> waitFor, int numReturns, int timeoutMs) {
|
||||
throw new RuntimeException("Not implemented here.");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user