public class EndPointCache extends java.lang.Object implements MaximoMTEnabledCache
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,MaxEndPointInfo> |
getAllEndpoints()
Get all the defined endpoints.
|
MaximoCache |
getCache()
Return the maximo cache instance.
|
MaxEndPointInfo |
getEndPointInfo(java.lang.String endPointName)
Get the EndPointInfo object
|
java.util.Map<java.lang.String,MaxEndPointPropInfo> |
getEndPointProperties(java.lang.String endPointName)
Returns a map of property values for the given endpoint name.
|
static EndPointCache |
getInstance()
Always use one instance of EndPointCache
|
java.lang.String |
getName()
Returns the name as registered in Maximo Cache
|
void |
init()
Initialize the EndPointCache
|
boolean |
isLoaded() |
void |
reload()
Refresh the EndPointCache
|
void |
reload(java.lang.String key)
Reload a paricular key in memory.
|
public static EndPointCache getInstance() throws MXException
MXException - MAXIMO exceptionpublic void init()
throws MXException
init in interface MaximoCacheMXException - Maximo Exceptionpublic void reload()
throws MXException
reload in interface MaximoCacheMXException - Maximo Exceptionpublic void reload(java.lang.String key)
throws MXException
reload in interface MaximoCachekey - to reloadMXException - Maximo Exceptionpublic java.lang.String getName()
getName in interface MaximoCachepublic java.util.Map<java.lang.String,MaxEndPointInfo> getAllEndpoints()
public MaxEndPointInfo getEndPointInfo(java.lang.String endPointName)
endPointName - endpoint namepublic java.util.Map<java.lang.String,MaxEndPointPropInfo> getEndPointProperties(java.lang.String endPointName) throws MXException
endPointName - endpoint nameMXException - if no such endpoint exists in the DDpublic MaximoCache getCache()
MaximoMTEnabledCachegetCache in interface MaximoMTEnabledCachepublic boolean isLoaded()
isLoaded in interface MaximoMTEnabledCache