public class OSTemplateCacheImpl extends java.lang.Object implements MaximoCache
Constructor and Description |
---|
OSTemplateCacheImpl() |
Modifier and Type | Method and Description |
---|---|
OSTemplateInfo |
getListTemplateInfo(java.lang.String osName,
java.lang.String userid) |
java.lang.String |
getName()
Returns the name of the cache object.
|
OSTemplateInfo |
getTemplateInfo(java.lang.String osName,
java.lang.String templateName) |
java.util.Map<java.lang.String,OSTemplateInfo> |
getTemplates(java.lang.String osName) |
void |
init()
Initialize the cache object.
|
void |
reload()
Reloads the cache object.
|
void |
reload(java.lang.String key)
Initialize a specific component of the cache identified by the key.
|
public void init() throws MXException
init
in interface MaximoCache
MXException
public OSTemplateInfo getTemplateInfo(java.lang.String osName, java.lang.String templateName)
public OSTemplateInfo getListTemplateInfo(java.lang.String osName, java.lang.String userid)
public void reload() throws MXException
reload
in interface MaximoCache
MXException
public void reload(java.lang.String key) throws MXException
reload
in interface MaximoCache
key
- MXException
public java.lang.String getName()
getName
in interface MaximoCache
public java.util.Map<java.lang.String,OSTemplateInfo> getTemplates(java.lang.String osName)