* NativeException if the native version of this method failed.
*/
public native static Host getByName(String name)
* NativeException if the native version of this method failed.
*/
public native static Host getByName(String name)
- /**
- * This static method sets a mailbox to receive in asynchronous mode.
- *
- * All messages sent to this mailbox will be transferred to
- * the receiver without waiting for the receive call.
- * The receive call will still be necessary to use the received data.
- * If there is a need to receive some messages asynchronously, and some not,
- * two different mailboxes should be used.
- *
- * @param mailboxName The name of the mailbox
- */
- public static native void setAsyncMailbox(String mailboxName);
+ /**
+ * This static method sets a mailbox to receive in asynchronous mode.
+ *
+ * All messages sent to this mailbox will be transferred to
+ * the receiver without waiting for the receive call.
+ * The receive call will still be necessary to use the received data.
+ * If there is a need to receive some messages asynchronously, and some not,
+ * two different mailboxes should be used.
+ *
+ * @param mailboxName The name of the mailbox
+ */
+ public static native void setAsyncMailbox(String mailboxName);
- /**
- * This method returns the number of tasks currently running on a host.
- * The external load is not taken in account.
- *
- * @return The number of tasks currently running on a host.
- */
- public native int getLoad();
-
/**
* This method returns the speed of the processor of a host,
* regardless of the current load of the machine.
/**
* This method returns the speed of the processor of a host,
* regardless of the current load of the machine.
/**
* Change the value of a given host property.
*/
public native void setProperty(String name, String value);
/**
* Change the value of a given host property.
*/
public native void setProperty(String name, String value);
/** This method tests if a host is up and running.
* @return True if the host is available.
*/
public native boolean isOn();
/** This methods returns the list of mount point names on an host
/** This method tests if a host is up and running.
* @return True if the host is available.
*/
public native boolean isOn();
/** This methods returns the list of mount point names on an host
public native Storage[] getMountedStorage();
/** This methods returns the list of storages attached to an host
public native Storage[] getMountedStorage();
/** This methods returns the list of storages attached to an host