Class FcdVslmHelper


  • public class FcdVslmHelper
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      FcdVslmHelper​(com.vmware.connection.Connection connection)  
    • Field Detail

      • VSLM_TASK_SLEEP_INTERVAL

        public static final int VSLM_TASK_SLEEP_INTERVAL
        See Also:
        Constant Field Values
    • Constructor Detail

      • FcdVslmHelper

        public FcdVslmHelper​(com.vmware.connection.Connection connection)
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • getVStorageObjMgr

        public com.vmware.vim25.ManagedObjectReference getVStorageObjMgr()
      • getVslmPort

        public com.vmware.vslm.VslmPortType getVslmPort()
      • getVslmMor

        public static com.vmware.vim25.ManagedObjectReference getVslmMor()
      • getVslmServiceInstance

        public com.vmware.vslm.VslmServiceInstanceContent getVslmServiceInstance()
                                                                          throws com.vmware.vslm.RuntimeFaultFaultMsg
        Throws:
        com.vmware.vslm.RuntimeFaultFaultMsg
      • waitForTask

        public boolean waitForTask​(com.vmware.vim25.ManagedObjectReference taskMor)
                            throws java.lang.Exception
        Wait for a vslm task to complete.
        Parameters:
        taskMor -
        Returns:
        true if task succeeded, false otherwise.
        Throws:
        java.lang.Exception