Package com.easydesk.message
Class SessionMonitorManager
java.lang.Object
org.apache.torque.manager.AbstractBaseManager
com.easydesk.message.SessionMonitorManager
- All Implemented Interfaces:
Serializable,CacheListener
SessionEventListener ....
- See Also:
-
Field Summary
FieldsFields inherited from class org.apache.torque.manager.AbstractBaseManager
cache, groupCache, log, mrCache -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringDOCUMENT ME!voidRefresh and Update Local Cachestatic SessionMonitorStatic accessor for the @see #getInstanceImpl().static SessionMonitorgetInstance(String id) Static accessor for the @see #getInstanceImpl(ObjectKey).static SessionMonitorgetInstance(ObjectKey id) Static accessor for the @see #getInstanceImpl(ObjectKey).protected SessionMonitorGet a fresh instance of a SessionMonitorprotected SessionMonitorGet a SessionMonitor with the given id.fields which interest us with respect to cache eventsstatic SessionMonitorManagerRetrieves an implementation of the manager, based on the settings in the configuration.static MethodResultCacheDOCUMENT ME!voidDOCUMENT ME!static voidDOCUMENT ME!protected PersistentvoidNotify to All and update local cachevoidNotify other managers with relevant CacheEvents. getMethodResultCache() 를 call 하지 않고 직접 registerAsListener() 를 call 한다.static voidDOCUMENT ME!static voidDOCUMENT ME!voidDOCUMENT ME!DOCUMENT ME!retrieveStoredOMs(List ids) DOCUMENT ME!Methods inherited from class org.apache.torque.manager.AbstractBaseManager
addCacheListenerImpl, addValidField, cacheGet, clearImpl, dispose, getClassName, getMethodResultCache, getOMClass, getOMInstance, getOMInstance, getOMInstance, getOMs, getOMs, getOMs, getRegion, notifyListeners, putInstanceImpl, removeInstanceImpl, setClassName, setOMClass, setRegion
-
Field Details
-
MANAGED_CLASS
DOCUMENT ME!- See Also:
-
-
Constructor Details
-
SessionMonitorManager
Creates a newItemManagerinstance.- Throws:
TorqueException- if an error occurs
-
-
Method Details
-
getManager
Retrieves an implementation of the manager, based on the settings in the configuration.- Returns:
- an implementation of ItemManager.
-
getMethodResult
DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
putInstance
DOCUMENT ME!- Parameters:
om- DOCUMENT ME!- Throws:
TorqueException- DOCUMENT ME!
-
putInstanceImpl
- Overrides:
putInstanceImplin classAbstractBaseManager- Throws:
TorqueException
-
notifyListeners
DOCUMENT ME!- Parameters:
om- DOCUMENT ME!
-
registerAsListener
public void registerAsListener()Notify other managers with relevant CacheEvents. getMethodResultCache() 를 call 하지 않고 직접 registerAsListener() 를 call 한다.- Overrides:
registerAsListenerin classAbstractBaseManager
-
getInstanceImpl
Get a fresh instance of a SessionMonitor- Returns:
- 새 SessionMonitor instance
- Throws:
TorqueException- instance 생성 중 오류가 발생한 경우
-
getInstanceImpl
Get a SessionMonitor with the given id.- Parameters:
id-ObjectKeyvalue- Returns:
- cache 에 있는 SessionMonitor, 없으면
null - Throws:
TorqueException- 조회 중 오류가 발생한 경우
-
retrieveStoredOM
DOCUMENT ME!- Specified by:
retrieveStoredOMin classAbstractBaseManager- Parameters:
id- DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
retrieveStoredOMs
DOCUMENT ME!- Specified by:
retrieveStoredOMsin classAbstractBaseManager- Parameters:
ids- DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
getInstance
Static accessor for the @see #getInstanceImpl().- Returns:
- a
Activityvalue - Throws:
TorqueException- if an error occurs
-
getInstance
Static accessor for the @see #getInstanceImpl(ObjectKey).- Parameters:
id- anObjectKeyvalue- Returns:
- a
Activityvalue - Throws:
TorqueException- if an error occurs
-
getInstance
Static accessor for the @see #getInstanceImpl(ObjectKey).- Parameters:
id- anObjectKeyvalue- Returns:
- a
Activityvalue - Throws:
TorqueException- if an error occurs
-
remove
DOCUMENT ME!- Parameters:
id- DOCUMENT ME!- Throws:
TorqueException- DOCUMENT ME!
-
add
DOCUMENT ME!- Parameters:
sessionId- DOCUMENT ME!email- DOCUMENT ME!- Returns:
- DOCUMENT ME!
- Throws:
TorqueException- DOCUMENT ME!
-
remove
DOCUMENT ME!- Parameters:
sessionId- DOCUMENT ME!email- DOCUMENT ME!- Throws:
TorqueException- DOCUMENT ME!
-
addedObject
Refresh and Update Local Cache- Specified by:
addedObjectin interfaceCacheListener- Parameters:
om- Description of the Parameter
-
refreshedObject
Notify to All and update local cache- Specified by:
refreshedObjectin interfaceCacheListener- Parameters:
om- Description of the Parameter
-
removedObject
DOCUMENT ME!- Specified by:
removedObjectin interfaceCacheListener- Parameters:
om- DOCUMENT ME!
-
getInterestedFields
fields which interest us with respect to cache events- Specified by:
getInterestedFieldsin interfaceCacheListener- Returns:
- The interestedFields value
-