public class LogOffsetImpl extends Object implements LogOffset
Modifier and Type | Field and Description |
---|---|
protected long |
offset |
protected LogPartition |
partition |
Constructor and Description |
---|
LogOffsetImpl(LogPartition partition,
long offset) |
LogOffsetImpl(String name,
int partition,
long offset) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(LogOffset o) |
boolean |
equals(Object o) |
int |
hashCode() |
long |
offset()
The position for the this
LogOffset.partition() . |
LogPartition |
partition()
Returns the tuple Log name and partition.
|
String |
toString() |
protected final LogPartition partition
protected final long offset
public LogOffsetImpl(LogPartition partition, long offset)
public LogOffsetImpl(String name, int partition, long offset)
public LogPartition partition()
LogOffset
public long offset()
LogOffset
LogOffset.partition()
.public int compareTo(LogOffset o)
compareTo
in interface Comparable<LogOffset>
Copyright © 2018 Nuxeo. All rights reserved.