public static class Log.Position extends Object implements Comparable<Log.Position>
read ranges and
truncation locations.| Constructor and Description |
|---|
Log.Position(long value)
Creates a position identified by an integral
value. |
public Log.Position(long value)
value.
Positions are typically only created by the log implementation. Log users should only ever need to call this constructor in unit tests.
value - The marker for this position in the log.public int compareTo(Log.Position that)
compareTo in interface Comparable<Log.Position>public byte[] identity()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.