commit | 961d357e5327508c8c8bb4cec4a3aea0c2147767 | [log] [tgz] |
---|---|---|
author | zheilbron <zheilbron@gmail.com> | Tue Jun 04 00:04:32 2013 -0700 |
committer | zheilbron <zheilbron@gmail.com> | Tue Jun 04 00:04:32 2013 -0700 |
tree | 956abb99b83e812fed0a0b66bec25da85845f005 | |
parent | 09d6b4c9ed41cf50150ce454c41a4fccf7647abd [diff] |
changed virtual buffer cache to throw an error if opened (closed) while open (closed)
diff --git a/pregelix-dataflow/src/main/java/edu/uci/ics/pregelix/dataflow/context/RuntimeContext.java b/pregelix-dataflow/src/main/java/edu/uci/ics/pregelix/dataflow/context/RuntimeContext.java index 8d6ab38..0f4afd3 100644 --- a/pregelix-dataflow/src/main/java/edu/uci/ics/pregelix/dataflow/context/RuntimeContext.java +++ b/pregelix-dataflow/src/main/java/edu/uci/ics/pregelix/dataflow/context/RuntimeContext.java
@@ -75,7 +75,7 @@ resourceIdFactory = new ResourceIdFactory(0); } - public void close() { + public void close() throws HyracksDataException { for (Entry<Long, List<FileReference>> entry : iterationToFiles.entrySet()) for (FileReference fileRef : entry.getValue()) fileRef.delete();