Public Member Functions | |
void | initializeAlarmCache (Map alarms, Map activeLists) |
Alarm | getCopy (String identifier) throws AlarmCacheException |
Alarm | getReference (String identifier) throws AlarmCacheException |
void | replace (Alarm alarm) throws AlarmCacheException |
void | put (Alarm alarm) throws AlarmCacheException |
void | invalidate (String identifier) throws AlarmCacheException |
CategoryActiveList | getActiveListReference (Integer identifier) throws AlarmCacheException |
void | close () |
void | removeActiveList (Integer identifier) throws AlarmCacheException |
|
Close and deallocate the resources. |
|
Returns a reference to the active list for a category.
|
|
Returns a clone of the cached alarm.
|
|
Returns a reference to the cached alarm.
|
|
Initializes the alarm cache. Can only be called once. |
|
Invalidate the cached object. Subsequent accesses to that object will cause the object to be loaded again from the ejb.
|
|
Puts an object in the cache. If that object was already in the cache it is replaced. This method combines the methods replace, and release alarm the new alarm object Exception if the operation can not be performed |
|
Remove the active list associated with the given category id.
|
|
Puts alarm in the cache. This method must be called after as the alarm need to be locked. alarm object to put in cache AlarmCacheException if the operation cannot be performed. However, the lock is released. |