public static enum DestinationOrder.Kind extends Enum<DestinationOrder.Kind>
Enum Constant and Description |
---|
BY_RECEPTION_TIMESTAMP
Indicates that data is ordered based on the reception time at each
Subscriber . |
BY_SOURCE_TIMESTAMP
Indicates that data is ordered based on a time stamp placed at the
source (by the Service or by the application).
|
Modifier and Type | Method and Description |
---|---|
static DestinationOrder.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DestinationOrder.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DestinationOrder.Kind BY_RECEPTION_TIMESTAMP
Subscriber
. Since each subscriber may receive the data at
different times there is no guaranteed that the changes will be
seen in the same order. Consequently, it is possible for each
subscriber to end up with a different final value for the data.public static final DestinationOrder.Kind BY_SOURCE_TIMESTAMP
public static DestinationOrder.Kind[] values()
for (DestinationOrder.Kind c : DestinationOrder.Kind.values()) System.out.println(c);
public static DestinationOrder.Kind 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 nullCopyright © 2014. All rights reserved.