public class OslcInteractionCache extends java.lang.Object implements MaximoMTEnabledCache
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,OslcInteractionInfo>> |
getAllInteractions() |
java.util.Map<java.lang.String,OslcInteractionInfo> |
getAllInteractionsForProvider(java.lang.String oslcProviderName) |
MaximoCache |
getCache()
Return the maximo cache instance.
|
static OslcInteractionCache |
getInstance() |
OslcInteractionInfo |
getInteraction(java.lang.String interactionName,
java.lang.String oslcProviderName) |
OslcInteractionInfo |
getInteractionInfo(java.lang.String oslcProviderName,
java.lang.String interactionName) |
java.lang.String |
getName()
Returns the name of the cache object.
|
void |
init()
Initialize the cache object.
|
boolean |
isLoaded() |
void |
reload()
Reloads the cache object.
|
void |
reload(java.lang.String key)
Initialize a specific component of the cache identified by the key.
|
public static final OslcInteractionCache getInstance()
public OslcInteractionInfo getInteraction(java.lang.String interactionName, java.lang.String oslcProviderName)
public void init()
throws MXException
MaximoCacheinit in interface MaximoCacheMXExceptionpublic java.util.Map<java.lang.String,java.util.Map<java.lang.String,OslcInteractionInfo>> getAllInteractions()
public java.util.Map<java.lang.String,OslcInteractionInfo> getAllInteractionsForProvider(java.lang.String oslcProviderName)
public OslcInteractionInfo getInteractionInfo(java.lang.String oslcProviderName, java.lang.String interactionName)
public void reload()
throws MXException
MaximoCachereload in interface MaximoCacheMXExceptionpublic void reload(java.lang.String key)
throws MXException
MaximoCachereload in interface MaximoCacheMXExceptionpublic java.lang.String getName()
MaximoCachegetName in interface MaximoCachepublic MaximoCache getCache()
MaximoMTEnabledCachegetCache in interface MaximoMTEnabledCachepublic boolean isLoaded()
isLoaded in interface MaximoMTEnabledCache