Package com.vmware.vim25.mo
Class OverheadMemoryManager
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.OverheadMemoryManager
-
Constructor Summary
ConstructorsConstructorDescriptionOverheadMemoryManager(ServerConnection serverConnection, ManagedObjectReference mor) -
Method Summary
Modifier and TypeMethodDescriptionlonglookupVmOverheadMemory(VirtualMachine vm, HostSystem host) Return static VM overhead memory value in bytes for a (vm, host) pair from the overhead memory module (OMM) in Virtual Center.Methods inherited from class com.vmware.vim25.mo.ManagedObject
convertMors, getCurrentProperty, getDatastores, getFilter, getHosts, getManagedObject, getManagedObjects, getManagedObjects, getMOR, getNetworks, getPropertiesByPaths, getPropertyByPath, getResourcePools, getScheduledTasks, getServerConnection, getTasks, getViews, getVimService, getVms, retrieveObjectProperties, setCachedProperty, setMOR, setServerConnection, toString, waitForValues
-
Constructor Details
-
OverheadMemoryManager
-
-
Method Details
-
lookupVmOverheadMemory
public long lookupVmOverheadMemory(VirtualMachine vm, HostSystem host) throws InvalidArgument, InvalidType, ManagedObjectNotFound, NotFound, RuntimeFault, RemoteException Return static VM overhead memory value in bytes for a (vm, host) pair from the overhead memory module (OMM) in Virtual Center.- Parameters:
vm- The Virtual Machinehost- The Host- Returns:
- Overhead memory value, if found in the OMM.
- Throws:
InvalidArgumentInvalidTypeManagedObjectNotFoundNotFoundRuntimeFaultRemoteException
-