wait
public java.lang.Object[] wait(com.vmware.vim25.ManagedObjectReference objmor,
java.lang.String[] filterProps,
java.lang.String[] endWaitProps,
java.lang.Object[][] expectedVals)
throws com.vmware.vim25.InvalidPropertyFaultMsg,
com.vmware.vim25.RuntimeFaultFaultMsg,
com.vmware.vim25.InvalidCollectorVersionFaultMsg
Handle Updates for a single object. waits till expected values of
properties to check are reached Destroys the ObjectFilter when done.
- Parameters:
objmor - MOR of the Object to wait forfilterProps - Properties list to filterendWaitProps - Properties list to check for expected values these be properties
of a property in the filter properties listexpectedVals - values for properties to end the wait
- Returns:
- true indicating expected values were met, and false otherwise
- Throws:
com.vmware.vim25.RuntimeFaultFaultMsg
com.vmware.vim25.InvalidPropertyFaultMsg
com.vmware.vim25.InvalidCollectorVersionFaultMsg