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