Modifier and Type | Field and Description |
---|---|
protected long |
lag |
protected long |
lowerOffset |
protected long |
upper |
protected long |
upperOffset |
Constructor and Description |
---|
LogLag(long lowerOffset,
long upperOffset) |
LogLag(long lowerOffset,
long upperOffset,
long lag,
long upper) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
long |
lag()
Returns the number of messages between lower and upper offsets.
|
long |
lower()
Convert the lowerOffset into a number of messages.
|
long |
lowerOffset() |
static LogLag |
of(long lag) |
static LogLag |
of(long lowerOffset,
long upperOffset) |
String |
toString() |
long |
upper()
Convert the upperOffset into a number of messages.
|
long |
upperOffset() |
protected final long lowerOffset
protected final long upperOffset
protected final long lag
protected final long upper
public LogLag(long lowerOffset, long upperOffset)
public LogLag(long lowerOffset, long upperOffset, long lag, long upper)
public long lag()
public long upper()
public long lower()
public long upperOffset()
public long lowerOffset()
Copyright © 2018 Nuxeo. All rights reserved.