Package com.wombat.mamda
Interface MamdaStaleListener
-
public interface MamdaStaleListener
MamdaStaleListener defines an interface for handling changes in staleness notifications for a MamdaSubscription.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onStale(MamdaSubscription subscription, short quality)
Invoked in response to the onQuality() callback for the underlying MamaSubscription.
-
-
-
Method Detail
-
onStale
void onStale(MamdaSubscription subscription, short quality)
Invoked in response to the onQuality() callback for the underlying MamaSubscription. Typically invoked in response to an underlying symbol level sequence number gap being detected.- Parameters:
subscription
- The MamdaSubscription on which the data quality event fired.quality
- Can be MamaQuality.QUALITY_OK, MamaQuality.QUALITY_MAYBE_STALE, MamaQuality.QUALITY_PARTIAL_STALE or MamaQuality.QUALITY_STALE
-
-