private class Notifier.NotifyTask extends RetryTask
| Modifier and Type | Field and Description |
|---|---|
private EventSender |
sender
Who and what to send a event to.
|
DAYS, HOURS, MINUTES, SECONDS| Constructor and Description |
|---|
NotifyTask(EventSender sender)
Create an object to represent this list of chits needing
notification.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
logFailure(String exceptionDescription,
Level level,
boolean terminal,
Throwable t)
Log a failed delivery attempt
|
boolean |
tryOnce()
Try to notify the target.
|
private final EventSender sender
NotifyTask(EventSender sender)
sender - An object that on request will
attempt to deliver its event
to the associated listener.NullPointerException - if sender is
nullCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.