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