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