public class JSONMapperCacheImpl extends java.lang.Object implements MaximoCache
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Constructor and Description |
---|
JSONMapperCacheImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,JSONMapInfo> |
getAllMaps()
Get all JSON Maps in the memory
|
JSONMapInfo |
getMapInfo(java.lang.String mapName)
Gets the info object for the specific map
|
java.lang.String |
getName()
Returns the name as registered in Maximo Cache
|
void |
init()
Initialization.
|
void |
refresh()
Refresh the JSON Map DD
|
void |
reload()
Refresh the DD in memory
|
void |
reload(java.lang.String key)
Re-load a particular key in Maximo Cache.
|
public static final java.lang.String NAME
public void init() throws MXException
init
in interface MaximoCache
MXException
- Maximo Exceptionpublic java.util.Map<java.lang.String,JSONMapInfo> getAllMaps()
public JSONMapInfo getMapInfo(java.lang.String mapName)
mapName
- map Namepublic 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
- keyMXException
- Maximo Exceptionpublic void refresh() throws MXException
MXException
- Maximo Exception