com.vmware.vim25.mo
Class PerformanceManager

java.lang.Object
  extended by com.vmware.vim25.mo.ManagedObject
      extended by com.vmware.vim25.mo.PerformanceManager

public class PerformanceManager
extends ManagedObject

The managed object class corresponding to the one defined in VI SDK API reference.

Author:
Steve JIN (sjin@vmware.com)

Constructor Summary
PerformanceManager(ServerConnection serverConnection, ManagedObjectReference mor)
           
 
Method Summary
 void createPerfInterval(PerfInterval intervalId)
          Deprecated. use UpdatePerfInterval instead
 PerformanceDescription getDescription()
           
 PerfInterval[] getHistoricalInterval()
           
 PerfCounterInfo[] getPerfCounter()
           
 PerfMetricId[] queryAvailablePerfMetric(ManagedEntity entity, Calendar beginTime, Calendar endTime, Integer intervalId)
           
 PerfEntityMetricBase[] queryPerf(PerfQuerySpec[] querySpec)
           
 PerfCompositeMetric queryPerfComposite(PerfQuerySpec querySpec)
           
 PerfCounterInfo[] queryPerfCounter(int[] counterIds)
           
 PerfCounterInfo[] queryPerfCounterByLevel(int level)
           
 PerfProviderSummary queryPerfProviderSummary(ManagedEntity entity)
           
 void removePerfInterval(int samplePeriod)
           
 void updatePerfInterval(PerfInterval interval)
           
 
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, setMOR, setServerConnection, toString, waitForValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PerformanceManager

public PerformanceManager(ServerConnection serverConnection,
                          ManagedObjectReference mor)
Method Detail

getDescription

public PerformanceDescription getDescription()

getHistoricalInterval

public PerfInterval[] getHistoricalInterval()

getPerfCounter

public PerfCounterInfo[] getPerfCounter()

createPerfInterval

public void createPerfInterval(PerfInterval intervalId)
                        throws RuntimeFault,
                               RemoteException
Deprecated. use UpdatePerfInterval instead

Throws:
RemoteException
RuntimeFault

queryAvailablePerfMetric

public PerfMetricId[] queryAvailablePerfMetric(ManagedEntity entity,
                                               Calendar beginTime,
                                               Calendar endTime,
                                               Integer intervalId)
                                        throws RuntimeFault,
                                               RemoteException
Throws:
RuntimeFault
RemoteException

queryPerf

public PerfEntityMetricBase[] queryPerf(PerfQuerySpec[] querySpec)
                                 throws RuntimeFault,
                                        RemoteException
Throws:
RuntimeFault
RemoteException

queryPerfComposite

public PerfCompositeMetric queryPerfComposite(PerfQuerySpec querySpec)
                                       throws RuntimeFault,
                                              RemoteException
Throws:
RuntimeFault
RemoteException

queryPerfCounter

public PerfCounterInfo[] queryPerfCounter(int[] counterIds)
                                   throws RuntimeFault,
                                          RemoteException
Throws:
RuntimeFault
RemoteException

queryPerfCounterByLevel

public PerfCounterInfo[] queryPerfCounterByLevel(int level)
                                          throws RuntimeFault,
                                                 RemoteException
Throws:
RuntimeFault
RemoteException

queryPerfProviderSummary

public PerfProviderSummary queryPerfProviderSummary(ManagedEntity entity)
                                             throws RuntimeFault,
                                                    RemoteException
Throws:
RuntimeFault
RemoteException

removePerfInterval

public void removePerfInterval(int samplePeriod)
                        throws RuntimeFault,
                               RemoteException
Throws:
RuntimeFault
RemoteException

updatePerfInterval

public void updatePerfInterval(PerfInterval interval)
                        throws RuntimeFault,
                               RemoteException
Throws:
RuntimeFault
RemoteException


Copyright © 2011-2012. All Rights Reserved.