com.vmware.vim25.mo
Class TaskHistoryCollector

java.lang.Object
  extended by com.vmware.vim25.mo.ManagedObject
      extended by com.vmware.vim25.mo.HistoryCollector
          extended by com.vmware.vim25.mo.TaskHistoryCollector

public class TaskHistoryCollector
extends HistoryCollector

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

Author:
Steve JIN (sjin@vmware.com)

Constructor Summary
TaskHistoryCollector(ServerConnection serverConnection, ManagedObjectReference mor)
           
 
Method Summary
 TaskFilterSpec getFilter()
           
 TaskInfo[] getLatestPage()
           
 TaskInfo[] readNextTasks(int maxCount)
           
 TaskInfo[] readPreviousTasks(int maxCount)
           
 
Methods inherited from class com.vmware.vim25.mo.HistoryCollector
destroyCollector, resetCollector, rewindCollector, setCollectorPageSize
 
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

TaskHistoryCollector

public TaskHistoryCollector(ServerConnection serverConnection,
                            ManagedObjectReference mor)
Method Detail

getFilter

public TaskFilterSpec getFilter()

getLatestPage

public TaskInfo[] getLatestPage()

readNextTasks

public TaskInfo[] readNextTasks(int maxCount)
                         throws RuntimeFault,
                                RemoteException
Throws:
RuntimeFault
RemoteException

readPreviousTasks

public TaskInfo[] readPreviousTasks(int maxCount)
                             throws RuntimeFault,
                                    RemoteException
Throws:
RuntimeFault
RemoteException


Copyright © 2011-2012. All Rights Reserved.