Name | |
---|---|
String | toString(short quality) |
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 |
class com::wombat::mama::MamaQuality;
Class containing constants and utility methods for dealing with subscription level quality events.
static inline String toString(
short quality
)
Parameters:
Return: The string representation of the quality.
Get a stringified representation of the quality.
static final short QUALITY_OK = 0;
The quality of the subscription is ok. The integrity of the data can be guaranteed.
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.
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.
static final short QUALITY_PARTIAL_STALE = 3;
As with QUALITY_MAYBE_STALE
static final short QUALITY_FORCED_STALE = 4;
static final short QUALITY_DUPLICATE = 5;
Messages with duplicate sequence numbers have been received for the subscription.
static final short QUALITY_UNKNOWN = 99;
Invalid quality state value.
Updated on 2023-03-31 at 15:29:43 +0100