public interface EventType extends Identifier<String>
| Modifier and Type | Method and Description |
|---|---|
static EventType |
canonical(EventType eventType)
Simplifies the given event type.
|
default EventType |
canonicalize()
Returns an identical event type in canonical form.
|
static EventType |
from(String name)
Creates a new Raft event identifier.
|
idstatic EventType from(String name)
name - the event namestatic EventType canonical(EventType eventType)
eventType - the event type to simplifydefault EventType canonicalize()
Copyright © 2013–2018. All rights reserved.