X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1ae03c66a227ad22908fe1114579f3459089a331..8199067e1f2a6ea4d3d8a38df1a4fb3f25d364da:/src/bindings/java/org/simgrid/msg/Host.java diff --git a/src/bindings/java/org/simgrid/msg/Host.java b/src/bindings/java/org/simgrid/msg/Host.java index a1d57363e3..839c84ce68 100644 --- a/src/bindings/java/org/simgrid/msg/Host.java +++ b/src/bindings/java/org/simgrid/msg/Host.java @@ -8,6 +8,8 @@ package org.simgrid.msg; +import org.simgrid.msg.Storage; + /** * A host object represents a location (any possible place) where a process may run. * Thus it is represented as a physical resource with computing capabilities, some @@ -201,6 +203,17 @@ public class Host { * @return True if the host is available. */ public native boolean isAvail(); + + /** This methods returns the list of mount point names on an host + * @return An array containing all mounted storages on the host + */ + public native Storage[] getMountedStorage(); + + /** This methods returns the list of storages attached to an host + * @return An array containing all storages (name) attached to the host + */ + public native String[] getAttachedStorage(); + /** * Class initializer, to initialize various JNI stuff