public static enum RingNodeEvent.EventType extends java.lang.Enum<RingNodeEvent.EventType>
Enum Constant and Description |
---|
FINGERTABLE_CHANGE
Thrown when a fingertable entry changes.
|
JOIN
Thrown when the ring is (re-)joined.
|
PART
Thrown when the ring is parted.
|
PREDECESSOR_CHANGE
Thrown when predecessor changes.
|
SUCCESSOR_CHANGE
Thrown when successor changes.
|
Modifier and Type | Method and Description |
---|---|
static RingNodeEvent.EventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RingNodeEvent.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RingNodeEvent.EventType JOIN
public static final RingNodeEvent.EventType PART
public static final RingNodeEvent.EventType PREDECESSOR_CHANGE
public static final RingNodeEvent.EventType SUCCESSOR_CHANGE
public static final RingNodeEvent.EventType FINGERTABLE_CHANGE
public static RingNodeEvent.EventType[] values()
for (RingNodeEvent.EventType c : RingNodeEvent.EventType.values()) System.out.println(c);
public static RingNodeEvent.EventType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null