Package io.atomix.primitive.event
Interface EventType
- All Superinterfaces:
io.atomix.utils.Identifier<String>
public interface EventType extends io.atomix.utils.Identifier<String>
Raft event identifier.
-
Method Details
-
from
Creates a new Raft event identifier.- Parameters:
name
- the event name- Returns:
- the event identifier
-
canonical
Simplifies the given event type.- Parameters:
eventType
- the event type to simplify- Returns:
- the simplified event type
-
canonicalize
Returns an identical event type in canonical form.- Returns:
- an identical event type in canonical form
-