Package javaforce.vm

Class Storage

java.lang.Object
javaforce.vm.Storage
All Implemented Interfaces:
Serializable

public class Storage extends Object implements Serializable
See Also:
  • Field Details

  • Constructor Details

    • Storage

      public Storage(int type, String name, String uuid)
  • Method Details

    • list

      public static String[] list()
      Returns list of UUID for Storage units registered.
    • register

      public boolean register()
    • unregister

      public boolean unregister()
    • start

      public boolean start()
    • stop

      public boolean stop()
    • getState

      public int getState()
    • getStateString

      public String getStateString()
    • mount

      public boolean mount()
      Mount pool. This should NOT be required but start() is not working yet.
    • unmount

      public boolean unmount()
      Unmount pool. This should NOT be required but stop() is not working yet.
    • format

      public boolean format(int type)
    • getPath

      public String getPath()
      Returns mount path.
    • main

      public static void main(String[] args)