hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomm...@apache.org
Subject svn commit: r1655029 - /hama/trunk/graph/src/main/java/org/apache/hama/graph/OffHeapVerticesInfo.java
Date Tue, 27 Jan 2015 12:51:13 GMT
Author: tommaso
Date: Tue Jan 27 12:51:13 2015
New Revision: 1655029

URL: http://svn.apache.org/r1655029
Log:
HAMA-925 - added OffHeapVerticesInfo#removeVertex and #finishRemovals implementations

Modified:
    hama/trunk/graph/src/main/java/org/apache/hama/graph/OffHeapVerticesInfo.java

Modified: hama/trunk/graph/src/main/java/org/apache/hama/graph/OffHeapVerticesInfo.java
URL: http://svn.apache.org/viewvc/hama/trunk/graph/src/main/java/org/apache/hama/graph/OffHeapVerticesInfo.java?rev=1655029&r1=1655028&r2=1655029&view=diff
==============================================================================
--- hama/trunk/graph/src/main/java/org/apache/hama/graph/OffHeapVerticesInfo.java (original)
+++ hama/trunk/graph/src/main/java/org/apache/hama/graph/OffHeapVerticesInfo.java Tue Jan
27 12:51:13 2015
@@ -155,12 +155,12 @@ public class OffHeapVerticesInfo<V exten
 
   @Override
   public void removeVertex(V vertexID) {
-    throw new UnsupportedOperationException("Not yet implemented");
+    vertices.free(vertexID);
   }
 
   @Override
   public void finishRemovals() {
-    throw new UnsupportedOperationException("Not yet implemented");
+    vertices.collectExpired();
   }
 
 }



Mime
View raw message