hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tjungb...@apache.org
Subject svn commit: r1177379 - in /incubator/hama/branches/HamaV2/server/src/main/java/org/apache/hama/bsp: BSPJob.java BSPJobImpl.java
Date Thu, 29 Sep 2011 17:38:02 GMT
Author: tjungblut
Date: Thu Sep 29 17:38:02 2011
New Revision: 1177379

URL: http://svn.apache.org/viewvc?rev=1177379&view=rev
Log:
Added neat features.

Modified:
    incubator/hama/branches/HamaV2/server/src/main/java/org/apache/hama/bsp/BSPJob.java
    incubator/hama/branches/HamaV2/server/src/main/java/org/apache/hama/bsp/BSPJobImpl.java

Modified: incubator/hama/branches/HamaV2/server/src/main/java/org/apache/hama/bsp/BSPJob.java
URL: http://svn.apache.org/viewvc/incubator/hama/branches/HamaV2/server/src/main/java/org/apache/hama/bsp/BSPJob.java?rev=1177379&r1=1177378&r2=1177379&view=diff
==============================================================================
--- incubator/hama/branches/HamaV2/server/src/main/java/org/apache/hama/bsp/BSPJob.java (original)
+++ incubator/hama/branches/HamaV2/server/src/main/java/org/apache/hama/bsp/BSPJob.java Thu
Sep 29 17:38:02 2011
@@ -28,12 +28,18 @@ public interface BSPJob {
 	public enum JobState {
 		NEW, RUNNING, SUCCESS, FAILED, KILLED
 	}
+	
+	public enum BSPPhase{
+		COMPUTATION, COMMUNICATION 
+	}
 
 	BSPJobID getID();
 
 	String getName();
 
 	JobState getState();
+	
+	BSPPhase getBSPPhase();
 
 	Map<TaskAttemptID, Task> getTasks();
 

Modified: incubator/hama/branches/HamaV2/server/src/main/java/org/apache/hama/bsp/BSPJobImpl.java
URL: http://svn.apache.org/viewvc/incubator/hama/branches/HamaV2/server/src/main/java/org/apache/hama/bsp/BSPJobImpl.java?rev=1177379&r1=1177378&r2=1177379&view=diff
==============================================================================
--- incubator/hama/branches/HamaV2/server/src/main/java/org/apache/hama/bsp/BSPJobImpl.java
(original)
+++ incubator/hama/branches/HamaV2/server/src/main/java/org/apache/hama/bsp/BSPJobImpl.java
Thu Sep 29 17:38:02 2011
@@ -65,4 +65,10 @@ public class BSPJobImpl implements BSPJo
 		return null;
 	}
 
+	@Override
+	public BSPPhase getBSPPhase() {
+		// TODO Auto-generated method stub
+		return null;
+	}
+
 }



Mime
View raw message