|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vmware.vim.cf.CacheInstance
public class CacheInstance
| Constructor Summary | |
|---|---|
CacheInstance(ServiceInstance si)
|
|
| Method Summary | |
|---|---|
void |
destroy()
Destrory the caching service when no longer needed. |
Object |
get(ManagedObjectReference mor,
String propName)
Get the value of cached property whose name is propName. |
Object |
get(ManagedObject mo,
String propName)
Get the value of cached property whose name is propName. |
Object |
getCopy(ManagedObjectReference mor,
String propName)
Get a copy of the cached property. |
Object |
getCopy(ManagedObject mo,
String propName)
Get a copy of the cached property. |
ServiceInstance |
getServiceInstance()
Get the corresponding ServiceInstance |
boolean |
isReady()
Check if the CacheInstance is ready for retrieval |
void |
start()
Start the caching service. |
void |
watch(ManagedObject[] mos,
String[] props)
Add the managed objects and their properties to be watched. |
void |
watch(PropertyFilterSpec pfs)
Add PropertyFilterSpec for advanced settings |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheInstance(ServiceInstance si)
| Method Detail |
|---|
public void watch(ManagedObject[] mos,
String[] props)
mos - array of managed objects.props - array of properties to watchpublic void watch(PropertyFilterSpec pfs)
pfs - the property filter spec which specifies
the managed objects and properties to watch.
public Object getCopy(ManagedObject mo,
String propName)
mo - Managed objectpropName - property name
public Object getCopy(ManagedObjectReference mor,
String propName)
mor - Managed object referencepropName - property name
public Object get(ManagedObject mo,
String propName)
mo - Managed object on which the cached property is requestedpropName - Property name, can include "."
public Object get(ManagedObjectReference mor,
String propName)
mor - Managed object reference pointing to the managed objectpropName - Property name
public void start()
public void destroy()
public ServiceInstance getServiceInstance()
public boolean isReady()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||