Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix private host variable after a migration - Adrien
[simgrid.git] / src / bindings / java / org / simgrid / msg / Task.java
index 95ab081..2b7b2dd 100644 (file)
@@ -168,6 +168,11 @@ public class Task {
      * @throws TaskCancelledException
      */
        public native void execute() throws HostFailureException,TaskCancelledException;
+       /**
+        * Bound a computation to a certain load
+        *
+        */
+       public native void setBound(double load); 
        /**
         * Cancels a task.
         *