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
MaximoCache
init
in interface MaximoCache
MXException
public 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
MaximoCache
reload
in interface MaximoCache
MXException
public void reload(java.lang.String key) throws MXException
MaximoCache
reload
in interface MaximoCache
MXException
public java.lang.String getName()
MaximoCache
getName
in interface MaximoCache
public MaximoCache getCache()
MaximoMTEnabledCache
getCache
in interface MaximoMTEnabledCache
public boolean isLoaded()
isLoaded
in interface MaximoMTEnabledCache