public class MaxPropCacheFactory extends AbstractMaximoMTEnabledCache
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, 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.
|
static MaxPropCacheFactory |
getInstance() |
java.util.Set<java.lang.Integer> |
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, unloadTenant
public static MaxPropCacheFactory getInstance()
public void setLandLordUserInfo(UserInfo llUserInfo)
public MaximoCache getCache()
MaximoMTEnabledCache
getCache
in interface MaximoMTEnabledCache
getCache
in class AbstractMaximoMTEnabledCache
public boolean isLoaded()
isLoaded
in interface MaximoMTEnabledCache
isLoaded
in class AbstractMaximoMTEnabledCache
public void init() throws MXException
MaximoCache
init
in interface MaximoCache
init
in class AbstractMaximoMTEnabledCache
MXException
public void init(java.util.Properties propsFromFile) throws MXException
MXException
public void reload() throws MXException
MaximoCache
reload
in interface MaximoCache
reload
in class AbstractMaximoMTEnabledCache
MXException
public void reload(java.lang.String key) throws MXException
MaximoCache
reload
in interface MaximoCache
reload
in class AbstractMaximoMTEnabledCache
MXException
public java.lang.String getName()
MaximoCache
public java.lang.String getMasterPropertyValue(java.lang.String propName) throws MXException
MXException
public java.util.Set<java.lang.Integer> getLoadedTenants() throws MXException
getLoadedTenants
in interface MaximoMTEnabledCache
getLoadedTenants
in class AbstractMaximoMTEnabledCache
MXException
public void clearTenant() throws MXException
MXException