public static enum DistributedMap.Events extends Enum<DistributedMap.Events> implements io.atomix.resource.Resource.EventType
| Enum Constant and Description |
|---|
ADD
Entry add event.
|
REMOVE
Entry remove event.
|
UPDATE
Entry update event.
|
| Modifier and Type | Method and Description |
|---|---|
int |
id() |
static DistributedMap.Events |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DistributedMap.Events[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistributedMap.Events ADD
public static final DistributedMap.Events UPDATE
public static final DistributedMap.Events REMOVE
public static DistributedMap.Events[] values()
for (DistributedMap.Events c : DistributedMap.Events.values()) System.out.println(c);
public static DistributedMap.Events 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 int id()
id in interface io.atomix.resource.Resource.EventTypeCopyright © 2013–2017. All rights reserved.