public class EndPointCacheImpl extends java.lang.Object implements MaximoCache
Constructor and Description |
---|
EndPointCacheImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,MaxEndPointInfo> |
getAllEndpoints()
Get all the defined endpoints.
|
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.
|
java.lang.String |
getName()
Returns the name as registered in Maximo Cache
|
void |
init()
Initialize the EndPointCache
|
void |
reload()
Refresh the EndPointCache
|
void |
reload(java.lang.String key)
Reload a paricular key in memory.
|
public 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 DD