public final class OffsetAndTimestamp extends Object
| Constructor and Description |
|---|
OffsetAndTimestamp(long offset, long timestamp) |
OffsetAndTimestamp(long offset, long timestamp, Optional<Integer> leaderEpoch) |
| Modifier and Type | Method and Description |
|---|---|
boolean | equals(Object o) |
int | hashCode() |
Optional<Integer> | leaderEpoch()Get the leader epoch corresponding to the offset that was found (if one exists). |
long | offset() |
long | timestamp() |
String | toString() |
public long timestamp()
public long offset()
public Optional<Integer> leaderEpoch()