public class EventId extends Object implements Comparable<EventId>
SharedBuffer
.Modifier and Type | Class and Description |
---|---|
static class |
EventId.EventIdSerializer
TypeSerializer for EventId . |
Modifier and Type | Field and Description |
---|---|
static Comparator<EventId> |
COMPARATOR |
Constructor and Description |
---|
EventId(int id,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(EventId o) |
boolean |
equals(Object o) |
int |
getId() |
long |
getTimestamp() |
int |
hashCode() |
String |
toString() |
public static final Comparator<EventId> COMPARATOR
public int getId()
public long getTimestamp()
public int compareTo(EventId o)
compareTo
in interface Comparable<EventId>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.