class LogPosition implements Comparable<LogPosition> {

    @Override
    public int compareTo( LogPosition o )
    {
        if ( logVersion != o.logVersion )
        {
            return Long.compare( logVersion, o.logVersion );
        }
        return Long.compare( byteOffset, o.byteOffset );
    }

    public  LogPosition( long logVersion, long byteOffset );

}