public enum UpdateType extends Enum<UpdateType>
This is used to indicate the type of update represented by the content which may vary according to topic type.
Enum Constant and Description |
---|
DELTA
The content represents a partial update to the topic state.
|
SNAPSHOT
The content is a complete representation of the topic state.
|
Modifier and Type | Method and Description |
---|---|
static UpdateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateType SNAPSHOT
public static final UpdateType DELTA
public static UpdateType[] values()
for (UpdateType c : UpdateType.values()) System.out.println(c);
public static UpdateType 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 © 2016 Push Technology Ltd. All Rights Reserved.