public class TrackingEvent<T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static long |
INVALID_OFFSET |
Modifier and Type | Method and Description |
---|---|
static <T> TrackingEvent |
create(java.net.URI uri,
long offset,
T rawTracking) |
static <T> TrackingEvent |
create(java.net.URI uri,
T rawTracking) |
boolean |
equals(java.lang.Object o) |
long |
getOffset() |
T |
getRawEvent() |
java.net.URI |
getUri() |
int |
hashCode() |
java.lang.String |
toString() |
public static final long INVALID_OFFSET
public static <T> TrackingEvent create(@NonNull java.net.URI uri, @NonNull T rawTracking)
public static <T> TrackingEvent create(@NonNull java.net.URI uri, long offset, @NonNull T rawTracking)
@NonNull public java.net.URI getUri()
public long getOffset()
public T getRawEvent()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object