public class MaxPropCacheFactory 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| Constructor and Description |
|---|
MaxPropCacheFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearTenant() |
MaximoCache |
getCache()
Return the maximo cache instance.
|
protected MaximoCache |
getCachedUnit()
Returns MaxPropCache.
|
static MaxPropCacheFactory |
getInstance() |
java.util.Set |
getLoadedTenants() |
java.lang.String |
getMasterPropertyValue(java.lang.String propName) |
java.lang.String |
getName()
Returns the name of the cache object.
|
void |
init()
Initialize the cache object.
|
void |
init(java.util.Properties propsFromFile) |
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 |
setLandLordUserInfo(UserInfo llUserInfo) |
unloadInactiveCaches, unloadTenantpublic static MaxPropCacheFactory getInstance()
public void setLandLordUserInfo(UserInfo llUserInfo)
public MaximoCache getCache()
MaximoMTEnabledCachegetCache in interface MaximoMTEnabledCachegetCache in class AbstractMaximoMTEnabledCachepublic boolean isLoaded()
isLoaded in interface MaximoMTEnabledCacheisLoaded in class AbstractMaximoMTEnabledCachepublic void init()
throws MXException
MaximoCacheinit in interface MaximoCacheinit in class AbstractMaximoMTEnabledCacheMXExceptionpublic void init(java.util.Properties propsFromFile)
throws MXException
MXExceptionpublic void reload()
throws MXException
MaximoCachereload in interface MaximoCachereload in class AbstractMaximoMTEnabledCacheMXExceptionpublic void reload(java.lang.String key)
throws MXException
MaximoCachereload in interface MaximoCachereload in class AbstractMaximoMTEnabledCacheMXExceptionpublic java.lang.String getName()
MaximoCachepublic java.lang.String getMasterPropertyValue(java.lang.String propName)
throws MXException
MXExceptionprotected MaximoCache getCachedUnit()
getCachedUnit in class AbstractMaximoMTEnabledCachepublic java.util.Set getLoadedTenants()
throws MXException
getLoadedTenants in interface MaximoMTEnabledCachegetLoadedTenants in class AbstractMaximoMTEnabledCacheMXExceptionpublic void clearTenant()
throws MXException
MXException