Package com.wombat.mama
Class MamaServiceLevel
- java.lang.Object
-
- com.wombat.mama.MamaServiceLevel
-
public class MamaServiceLevel extends java.lang.Object
Service level of a MAMA subscription. Provides an enumeration that represents the service level (a) requested by a subscribing application, or (b) provided by the publisher. In the future, the service level provided to the application might change dynamically, depending upon infrastructure capacity. So, even though the requested service level is "real time", if service deteriorates for any reason, the subscription may automatically switch to a conflated level (after notifying the application of the switch).
-
-
Field Summary
Fields Modifier and Type Field Description static short
CONFLATED
static short
REAL_TIME
static short
REPEATING_SNAPSHOT
static short
SNAPSHOT
static short
UNKNOWN
-
Constructor Summary
Constructors Constructor Description MamaServiceLevel()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
toString(short serviceLevel)
Return a string representation of a MAMA service level.
-
-
-
Field Detail
-
REAL_TIME
public static final short REAL_TIME
- See Also:
- Constant Field Values
-
SNAPSHOT
public static final short SNAPSHOT
- See Also:
- Constant Field Values
-
REPEATING_SNAPSHOT
public static final short REPEATING_SNAPSHOT
- See Also:
- Constant Field Values
-
CONFLATED
public static final short CONFLATED
- See Also:
- Constant Field Values
-
UNKNOWN
public static final short UNKNOWN
- See Also:
- Constant Field Values
-
-