Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove some half baken functions cluttering the mailboxes
[simgrid.git] / src / bindings / java / org / simgrid / msg / Task.java
index 6410bbf..5007cc4 100644 (file)
@@ -160,8 +160,8 @@ public class Task {
         */
        public native void execute() throws HostFailureException,TaskCancelledException;
 
-       /** Bound a computation to a certain load */
-       public native void setBound(double load); 
+       /** Changes the maximum CPU utilization of a computation task. Unit is flops/s. */
+       public native void setBound(double bound); 
 
        /** Cancels a task. */ 
        public native void cancel();
@@ -358,11 +358,6 @@ public class Task {
         */
        public native static boolean listen(String mailbox);
 
-       /**
-        * Counts the number of tasks waiting to be received on the \a mailbox identified by the specified alia and sended by the specified \a host.
-        */
-       public native static int listenFromHost(String alias, Host host);
-
        /**
         * Class initializer, to initialize various JNI stuff
         */