public class FailureDetectionEvent<T extends io.atomix.utils.Identifier> extends io.atomix.event.AbstractEvent<FailureDetectionEvent.Type,T>
| Modifier and Type | Class and Description |
|---|---|
static class |
FailureDetectionEvent.State
Failure detection event state.
|
static class |
FailureDetectionEvent.Type
Failure detection event type.
|
| Constructor and Description |
|---|
FailureDetectionEvent(FailureDetectionEvent.Type type,
T subject,
FailureDetectionEvent.State oldState,
FailureDetectionEvent.State newState) |
| Modifier and Type | Method and Description |
|---|---|
FailureDetectionEvent.State |
newState()
Returns the new node state.
|
FailureDetectionEvent.State |
oldState()
Returns the old node state.
|
String |
toString() |
public FailureDetectionEvent(FailureDetectionEvent.Type type, T subject, FailureDetectionEvent.State oldState, FailureDetectionEvent.State newState)
public FailureDetectionEvent.State oldState()
public FailureDetectionEvent.State newState()
public String toString()
toString in class io.atomix.event.AbstractEvent<FailureDetectionEvent.Type,T extends io.atomix.utils.Identifier>Copyright © 2013–2017. All rights reserved.