public enum WanEventType extends Enum<WanEventType>
Enum Constant and Description |
---|
ADD_OR_UPDATE
Add/update event (can be caused by either adding or creating some data)
|
REMOVE
Remove event (caused by removing data)
|
SYNC
WAN sync event (carrying a piece of data for synchronization between clusters)
|
Modifier and Type | Method and Description |
---|---|
static WanEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WanEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WanEventType SYNC
public static final WanEventType ADD_OR_UPDATE
public static final WanEventType REMOVE
public static WanEventType[] values()
for (WanEventType c : WanEventType.values()) System.out.println(c);
public static WanEventType 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 © 2020 Hazelcast, Inc.. All rights reserved.