public class EnterpriseServiceCache extends java.lang.Object implements MaximoMTEnabledCache
Modifier and Type | Method and Description |
---|---|
MaximoCache |
getCache()
Return the maximo cache instance.
|
EnterpriseServiceInfo |
getEnterpriseServiceInfo(java.lang.String name)
Return EnterpriseServiceInfo object for the given service name
|
java.util.Map<java.lang.String,EnterpriseServiceInfo> |
getEnterpriseServiceMap()
Returns Map of all Enterprise services info.
|
static EnterpriseServiceCache |
getInstance()
Get one instance of EnterpriseServiceCache
|
java.lang.String |
getName()
Returns the name as registered in Maximo Cache
|
void |
init()
Initialization fo EnterpriseServiceCache
|
boolean |
isLoaded() |
void |
reload()
Refresh EnterpriseServiceCache
|
void |
reload(java.lang.String key)
Reload a paricular key in memory.
|
public static EnterpriseServiceCache getInstance() throws MXException
MXException
- MAXIMO exceptionpublic void init() throws MXException
init
in interface MaximoCache
MXException
- Maximo Exceptionpublic java.lang.String getName()
getName
in interface MaximoCache
public void reload() throws MXException
reload
in interface MaximoCache
MXException
- Maximo Exceptionpublic void reload(java.lang.String key) throws MXException
reload
in interface MaximoCache
key
- key to reloadMXException
- Maximo Exceptionpublic java.util.Map<java.lang.String,EnterpriseServiceInfo> getEnterpriseServiceMap()
public EnterpriseServiceInfo getEnterpriseServiceInfo(java.lang.String name)
name
- Enterprise Service namepublic MaximoCache getCache()
MaximoMTEnabledCache
getCache
in interface MaximoMTEnabledCache
public boolean isLoaded()
isLoaded
in interface MaximoMTEnabledCache