public class MQRecord<M extends Externalizable> extends Object
Modifier and Type | Field and Description |
---|---|
protected M |
message |
protected MQOffset |
offset |
protected MQPartition |
partition |
Constructor and Description |
---|
MQRecord(MQPartition partition,
M message,
MQOffset offset) |
Modifier and Type | Method and Description |
---|---|
M |
message()
Returns the message.
|
MQOffset |
offset()
Returns the offset of the message.
|
MQPartition |
partition()
Returns the partition where the message has been read.
|
protected M extends Externalizable message
protected MQPartition partition
public MQRecord(MQPartition partition, M message, MQOffset offset)
Copyright © 2017 Nuxeo. All rights reserved.