public interface AlarmCache
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldResend(AlarmChannel channel,
String source,
String message)
This method returns true if the specified message with optional source has not been sent through
the specified channel very recently (meaning the resend interval for the channel has elapsed).
|
void |
shutdown()
Subclasses must override this, closing and freeing up any resources they use (connections, etc).
|
void |
store(AlarmChannel channel,
String source,
String message)
Stores the current date for the specified message and optional source, for the given channel.
|
void store(AlarmChannel channel, String source, String message)
boolean shouldResend(AlarmChannel channel, String source, String message)
void shutdown()