Public Member Functions | |
void | setSourceDAO (SourceDAO sourceDAO) |
void | setAlarmMessageProcessor (AlarmMessageProcessorImpl alarmMessageProcessor) |
void | setSourceMonitorFrequency (long sourceMonitorFrequency) |
void | setAlarmCache (AlarmCache alarmCache) |
void | check () |
boolean | isUpToDate () |
void | start () |
void | stop () |
Private Member Functions | |
TimerTask | createTimerTask () |
Private Attributes | |
Context | context = null |
Timer | timer = null |
long | delay |
SourceDAO | sourceDAO |
AlarmMessageProcessorImpl | alarmMessageProcessor |
long | sourceMonitorFrequency = DEFAULT_DELAY |
AlarmCache | alarmCache |
Static Private Attributes | |
Logger | LOGGER = Logger.getLogger(AlarmSourceMonitorImpl.class.getName()) |
final long | DEFAULT_DELAY = 60000 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|