public class InteractionPolicyCache extends java.lang.Object implements MaximoMTEnabledCache
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,PolicyInfo> |
getAllPolices()
Get all the defined endpoints.
|
MaximoCache |
getCache()
Return the maximo cache instance.
|
static InteractionPolicyCache |
getInstance()
Always use one instance of EndPointCache
|
java.lang.String |
getName()
Returns the name as registered in Maximo Cache
|
PolicyInfo |
getPolicyInfo(java.lang.String id)
Get the EndPointInfo object
|
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 InteractionPolicyCache 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 MaximoCacheMXException - Maximo Exceptionpublic java.lang.String getName()
getName in interface MaximoCachepublic java.util.Map<java.lang.String,PolicyInfo> getAllPolices()
public PolicyInfo getPolicyInfo(java.lang.String id)
id - policy idpublic MaximoCache getCache()
MaximoMTEnabledCachegetCache in interface MaximoMTEnabledCachepublic boolean isLoaded()
isLoaded in interface MaximoMTEnabledCache