Interface MamdaStaleListener


  • public interface MamdaStaleListener
    MamdaStaleListener defines an interface for handling changes in staleness notifications for a MamdaSubscription.
    • 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