public class MaxMessageCacheFactory extends AbstractMaximoMTEnabledCache
tenantLockObjs, tloMaxCacheAPPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGERappenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix| Modifier and Type | Method and Description |
|---|---|
MaxMessageCache |
getCache()
Return the maximoMLDD by the tenant context.
|
protected MaximoCache |
getCachedUnit()
Returns MaxMessageCache.
|
static MaxMessageCacheFactory |
getInstance()
Return an instance of MaxMessageCacheFactory.
|
java.lang.String |
getName()
Return the name of the cache.
|
void |
init()
Initialize the repository used by the MaxMessageCache.
|
void |
reload()
Reload the tenant cache if the context is tenant.
|
void |
reload(java.lang.String key)
Reload the cache by the key.
|
getLoadedTenants, isLoaded, unloadInactiveCaches, unloadTenantpublic static MaxMessageCacheFactory getInstance()
public MaxMessageCache getCache()
getCache in interface MaximoMTEnabledCachegetCache in class AbstractMaximoMTEnabledCachepublic java.lang.String getName()
public void init()
throws MXException
init in interface MaximoCacheinit in class AbstractMaximoMTEnabledCacheMXExceptionpublic void reload()
throws MXException
reload in interface MaximoCachereload in class AbstractMaximoMTEnabledCacheMXExceptionpublic void reload(java.lang.String key)
throws MXException
reload in interface MaximoCachereload in class AbstractMaximoMTEnabledCacheMXExceptionprotected MaximoCache getCachedUnit()
getCachedUnit in class AbstractMaximoMTEnabledCache