@InterfaceAudience.Public @InterfaceStability.Unstable public class TimelineEvent extends Object implements Comparable<TimelineEvent>
Modifier and Type | Field and Description |
---|---|
static long |
INVALID_TIMESTAMP |
Constructor and Description |
---|
TimelineEvent() |
Modifier and Type | Method and Description |
---|---|
void |
addInfo(Map<String,Object> infos) |
void |
addInfo(String key,
Object value) |
int |
compareTo(TimelineEvent other) |
boolean |
equals(Object o) |
String |
getId() |
Map<String,Object> |
getInfo() |
long |
getTimestamp() |
int |
hashCode() |
boolean |
isValid() |
void |
setId(String eventId) |
void |
setInfo(Map<String,Object> infos) |
void |
setTimestamp(long ts) |
public static final long INVALID_TIMESTAMP
public String getId()
public void setId(String eventId)
public long getTimestamp()
public void setTimestamp(long ts)
public boolean isValid()
public int compareTo(TimelineEvent other)
compareTo
in interface Comparable<TimelineEvent>
Copyright © 2024 Apache Software Foundation. All rights reserved.