Classes Files

com::wombat::mama::MamaQuality

More…

Public Functions

  Name
String toString(short quality)

Public Attributes

  Name
final short QUALITY_OK
final short QUALITY_MAYBE_STALE
final short QUALITY_STALE
final short QUALITY_PARTIAL_STALE
final short QUALITY_FORCED_STALE
final short QUALITY_DUPLICATE
final short QUALITY_UNKNOWN

Detailed Description

class com::wombat::mama::MamaQuality;

Class containing constants and utility methods for dealing with subscription level quality events.

Public Functions Documentation

function toString

static inline String toString(
    short quality
)

Parameters:

  • quality A valid quality short value.

Return: The string representation of the quality.

Get a stringified representation of the quality.

Public Attributes Documentation

variable QUALITY_OK

static final short QUALITY_OK = 0;

The quality of the subscription is ok. The integrity of the data can be guaranteed.

variable QUALITY_MAYBE_STALE

static final short QUALITY_MAYBE_STALE = 1;

The quality of the subscription is possibly stale. The integrity of the data must be treated as suspect. The middleware has informed MAMA that data is being lost but a gap has not yet been detected.

variable QUALITY_STALE

static final short QUALITY_STALE = 2;

The quality of the subscription is stale. A gap has been detected in the message stream. The integrity of the data has been compromised. Data should be treated as invalid until a recap is received.

variable QUALITY_PARTIAL_STALE

static final short QUALITY_PARTIAL_STALE = 3;

As with QUALITY_MAYBE_STALE

variable QUALITY_FORCED_STALE

static final short QUALITY_FORCED_STALE = 4;

variable QUALITY_DUPLICATE

static final short QUALITY_DUPLICATE = 5;

Messages with duplicate sequence numbers have been received for the subscription.

variable QUALITY_UNKNOWN

static final short QUALITY_UNKNOWN = 99;

Invalid quality state value.


Updated on 2023-03-31 at 15:29:43 +0100