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 MaximoCache
MXException
- Maximo Exceptionpublic void reload() throws MXException
reload
in interface MaximoCache
MXException
- Maximo Exceptionpublic void reload(java.lang.String key) throws MXException
reload
in interface MaximoCache
key
- to reloadMXException
- Maximo Exceptionpublic java.lang.String getName()
getName
in interface MaximoCache
public 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()
MaximoMTEnabledCache
getCache
in interface MaximoMTEnabledCache
public boolean isLoaded()
isLoaded
in interface MaximoMTEnabledCache