[Swift-commit] r3278 - trunk/src/org/globus/swift/data/policy

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Sun Apr 11 09:15:00 CDT 2010


Author: wozniak
Date: 2010-04-11 09:14:59 -0500 (Sun, 11 Apr 2010)
New Revision: 3278

Added:
   trunk/src/org/globus/swift/data/policy/AllocationHook.java
Log:
Draft of hook for Coasters integration with CDM. 


Added: trunk/src/org/globus/swift/data/policy/AllocationHook.java
===================================================================
--- trunk/src/org/globus/swift/data/policy/AllocationHook.java	                        (rev 0)
+++ trunk/src/org/globus/swift/data/policy/AllocationHook.java	2010-04-11 14:14:59 UTC (rev 3278)
@@ -0,0 +1,12 @@
+
+import org.globus.cog.abstraction.interfaces.Status;
+import org.globus.cog.abstraction.impl.common.StatusEvent;
+import org.globus.cog.abstraction.coaster.service.job.manager.Hook;
+
+public class AllocationHook extends Hook
+{
+    public void blockActive(StatusEvent e)
+    {
+        System.out.println("blockActive: " + e.getStatus().getMessage());
+    }
+}




More information about the Swift-commit mailing list