public class PrimaryElectionEvent extends io.atomix.utils.event.AbstractEvent<PrimaryElectionEvent.Type,PrimaryTerm>
| Modifier and Type | Class and Description |
|---|---|
static class |
PrimaryElectionEvent.Type
Returns the election event type.
|
| Constructor and Description |
|---|
PrimaryElectionEvent(PrimaryElectionEvent.Type type,
PrimaryTerm subject) |
| Modifier and Type | Method and Description |
|---|---|
PrimaryTerm |
term()
Returns the election term.
|
public PrimaryElectionEvent(PrimaryElectionEvent.Type type, PrimaryTerm subject)
public PrimaryTerm term()
Copyright © 2013–2018. All rights reserved.