public abstract class AbstractMaximoMTEnabledCache extends java.lang.Object implements MaximoMTEnabledCache, FixedLoggers
| Modifier and Type | Field and Description |
|---|---|
protected TenantLocks |
tenantLockObjs |
protected TenantLevelObj |
tloMaxCache |
APPLOGGER, 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| Constructor and Description |
|---|
AbstractMaximoMTEnabledCache() |
| Modifier and Type | Method and Description |
|---|---|
MaximoCache |
getCache()
Return the maximo cache instance.
|
protected abstract MaximoCache |
getCachedUnit() |
java.util.Set |
getLoadedTenants() |
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.
|
void |
unloadInactiveCaches(long interval) |
void |
unloadTenant() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNameprotected TenantLevelObj tloMaxCache
protected TenantLocks tenantLockObjs
public void init()
throws MXException
MaximoCacheinit in interface MaximoCacheMXExceptionpublic void reload()
throws MXException
MaximoCachereload in interface MaximoCacheMXExceptionpublic void reload(java.lang.String key)
throws MXException
MaximoCachereload in interface MaximoCacheMXExceptionpublic MaximoCache getCache()
MaximoMTEnabledCachegetCache in interface MaximoMTEnabledCachepublic boolean isLoaded()
isLoaded in interface MaximoMTEnabledCachepublic java.util.Set getLoadedTenants()
throws MXException
getLoadedTenants in interface MaximoMTEnabledCacheMXExceptionpublic void unloadTenant()
throws MXException
unloadTenant in interface MaximoMTEnabledCacheMXExceptionpublic void unloadInactiveCaches(long interval)
throws MXException
MXExceptionprotected abstract MaximoCache getCachedUnit()