public interface DeliveryListener
Source, this listener is notified when a Sink acknowledges
that it has received, or that the platform has failed to deliver, a ValueSet, Event or Topology Update.| Modifier and Type | Method and Description |
|---|---|
void |
eventDelivered(Source source,
long eventID,
java.lang.Throwable failure)
This method is called if the specified Event has been acknowledged by a sink, or if
the platform has failed to successfully deliver the Event.
|
void |
topologyUpdateDelivered(Source source,
long topologyUpdateID,
java.lang.Throwable failure)
This method is called if the specified topology update has been acknowledged by a sink, or if
the platform has failed to successfully deliver the update.
|
long |
valueSetDelivered(Source source,
long valueSetID,
java.lang.Throwable failure)
This method is called if the specified ValueSet has been acknowledged by a sink, or if
the platform has failed to successfully deliver the ValueSet.
|
long valueSetDelivered(Source source, long valueSetID, java.lang.Throwable failure)
source - The Source instance on which this listener was added. Must not be null.valueSetID - The identifier of the ValueSet.failure - The cause of delivery failure. Null if delivery was successfulvoid eventDelivered(Source source, long eventID, java.lang.Throwable failure)
source - The Source instance on which this listener was added. Must not be null.eventID - The identifier of the Event.failure - The cause of delivery failure. Null if delivery was successfulvoid topologyUpdateDelivered(Source source, long topologyUpdateID, java.lang.Throwable failure)
source - The Source instance on which this listener was added. Must not be null.topologyUpdateID - The identifier of the topology update.failure - The cause of delivery failure. Null if delivery was successful