public class MaxRecordLockCacheImpl extends java.lang.Object implements MaximoCache, 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 |
---|
MaxRecordLockCacheImpl() |
Modifier and Type | Method and Description |
---|---|
MboSetRemote |
getLockedRecordsSet() |
java.lang.String |
getName()
Returns the name of the cache object.
|
java.lang.String |
getRecordLockedByDisplayName(long ownerID,
java.lang.String ownerTable) |
java.lang.String |
getRecordLockedByUserId(long ownerID,
java.lang.String ownerTable) |
void |
init()
Initialize the cache object.
|
boolean |
isLockingAllowed() |
boolean |
isRecordLocked(long ownerID,
java.lang.String ownerTable) |
boolean |
isRecordLockedByMe(long lockedSessionID,
long ownerID,
java.lang.String ownerTable) |
void |
reload()
Reloads the cache object.
|
void |
reload(java.lang.String key)
Initialize a specific component of the cache identified by the key.
|
public void init() throws MXException
MaximoCache
init
in interface MaximoCache
MXException
public boolean isLockingAllowed()
public MboSetRemote getLockedRecordsSet() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean isRecordLockedByMe(long lockedSessionID, long ownerID, java.lang.String ownerTable)
public java.lang.String getRecordLockedByDisplayName(long ownerID, java.lang.String ownerTable)
public java.lang.String getRecordLockedByUserId(long ownerID, java.lang.String ownerTable)
public boolean isRecordLocked(long ownerID, java.lang.String ownerTable)
public void reload() throws MXException
MaximoCache
reload
in interface MaximoCache
MXException
public void reload(java.lang.String key) throws MXException
MaximoCache
reload
in interface MaximoCache
MXException
public java.lang.String getName()
MaximoCache
getName
in interface MaximoCache