public class SignatureCacheFactory extends java.lang.Object implements MaximoMTEnabledCache, FixedLoggers
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 |
---|
SignatureCacheFactory() |
Modifier and Type | Method and Description |
---|---|
MaximoCache |
getCache()
Default Constructor
|
static SignatureCacheFactory |
getInstance()
Always use one instance of Signature Factory.
|
java.lang.String |
getName()
Return name of the cache.
|
void |
init()
Initialize all the cache objects to new and empty,
and set loaded = False.
|
void |
init(MXServer mxs)
Call init() to initialize all the cache objects to new and empty,
and set loaded = False.
|
boolean |
isLoaded()
Check if individual Cache is loaded for a tenent.
|
void |
reload()
Reload Cache.
|
void |
reload(java.lang.String key)
For SignatureCache, does nothing.
|
public static SignatureCacheFactory getInstance()
public MaximoCache getCache()
getCache
in interface MaximoMTEnabledCache
public void init() throws MXException
init
in interface MaximoCache
MXException
- Maximo Exceptionpublic void init(MXServer mxs) throws MXException
mxs
- MXServer referenceMXException
- Maximo Exceptionpublic void reload() throws MXException
reload
in interface MaximoCache
MXException
- Maximo Exceptionpublic void reload(java.lang.String key) throws MXException
reload
in interface MaximoCache
key
- Key for reloadMXException
- Maximo Exceptionpublic boolean isLoaded()
isLoaded
in interface MaximoMTEnabledCache
public java.lang.String getName()
getName
in interface MaximoCache