Package com.wombat.mama
Class MamaQuality
- java.lang.Object
-
- com.wombat.mama.MamaQuality
-
public class MamaQuality extends java.lang.ObjectClass containing constants and utility methods for dealing with subscription level quality events.
-
-
Field Summary
Fields Modifier and Type Field Description static shortQUALITY_DUPLICATEMessages with duplicate sequence numbers have been received for the subscription.static shortQUALITY_FORCED_STALEstatic shortQUALITY_MAYBE_STALEThe quality of the subscription is possibly stale.static shortQUALITY_OKThe quality of the subscription is ok.static shortQUALITY_PARTIAL_STALEAs withQUALITY_MAYBE_STALEstatic shortQUALITY_STALEThe quality of the subscription is stale.static shortQUALITY_UNKNOWNInvalid quality state value.
-
Constructor Summary
Constructors Constructor Description MamaQuality()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringtoString(short quality)Get a stringified representation of the quality.
-
-
-
Field Detail
-
QUALITY_OK
public static final short QUALITY_OK
The quality of the subscription is ok. The integrity of the data can be guaranteed.- See Also:
- Constant Field Values
-
QUALITY_MAYBE_STALE
public static final short QUALITY_MAYBE_STALE
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.- See Also:
- Constant Field Values
-
QUALITY_STALE
public static final short QUALITY_STALE
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.- See Also:
- Constant Field Values
-
QUALITY_PARTIAL_STALE
public static final short QUALITY_PARTIAL_STALE
As withQUALITY_MAYBE_STALE- See Also:
- Constant Field Values
-
QUALITY_FORCED_STALE
public static final short QUALITY_FORCED_STALE
- See Also:
- Constant Field Values
-
QUALITY_DUPLICATE
public static final short QUALITY_DUPLICATE
Messages with duplicate sequence numbers have been received for the subscription.- See Also:
- Constant Field Values
-
QUALITY_UNKNOWN
public static final short QUALITY_UNKNOWN
Invalid quality state value.- See Also:
- Constant Field Values
-
-