}
- public static byte[] computeForEach(ReadGraphImpl graph, final int r) {
-
- graph.ensureLoaded(r);
-
- return graph.getValue(r);
-
- }
-
- @Override
- public Object compute(ReadGraphImpl graph, final InternalProcedure<byte[]> procedure) throws DatabaseException {
- return computeForEach(graph, id, this, procedure);
- }
+// public Object compute(ReadGraphImpl graph, final InternalProcedure<byte[]> procedure) throws DatabaseException {
+// return computeForEach(graph, id, this, procedure);
+// }
@Override
public String toString() {
@Override
public Object performFromCache(ReadGraphImpl graph, InternalProcedure<byte[]> procedure) throws DatabaseException {
- return compute(graph, procedure);
+ return computeForEach(graph, id, this, procedure);
}
@Override
public void recompute(ReadGraphImpl graph) throws DatabaseException {
- compute(graph, new InternalProcedure<byte[]>() {
+ computeForEach(graph, id, this, new InternalProcedure<byte[]>() {
@Override
public void execute(ReadGraphImpl graph, byte[] result) {