public enum MessageInterest extends Enum<MessageInterest>
Enum Constant and Description |
---|
AllMessages
Interested in all messages
|
HiPrioMessagesOnly
Interested in hi priority messages only
|
LiveMessagesOnly
Interested in live-match messages only
|
LoPrioMessagesOnly
Interested in lo priority messages only
|
PrematchMessagesOnly
Interested in pre-match messages only
|
SpecifiedMatchesOnly
Interested only in messages for specific matches
|
Modifier and Type | Method and Description |
---|---|
String |
getRoutingKey()
Gets the routing key for the current
MessageInterest instance or a null reference if
routing key is not static |
boolean |
isRoutingKeyStatic()
Gets a value indicating whether the routing key for current
MessageInterest instance
is static (does not change) |
static MessageInterest |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageInterest[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageInterest LiveMessagesOnly
public static final MessageInterest PrematchMessagesOnly
public static final MessageInterest HiPrioMessagesOnly
public static final MessageInterest LoPrioMessagesOnly
public static final MessageInterest SpecifiedMatchesOnly
public static final MessageInterest AllMessages
public static MessageInterest[] values()
for (MessageInterest c : MessageInterest.values()) System.out.println(c);
public static MessageInterest valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isRoutingKeyStatic()
MessageInterest
instance
is static (does not change)MessageInterest
instance is static (does not change)public String getRoutingKey()
MessageInterest
instance or a null reference if
routing key is not staticMessageInterest
instance or a null reference
if routing key is not staticCopyright © 2016–2017. All rights reserved.