public class PendingMessage extends Object
| Constructor and Description |
|---|
PendingMessage(RecordId id,
Consumer consumer,
Duration elapsedTimeSinceLastDelivery,
long totalDeliveryCount) |
| Modifier and Type | Method and Description |
|---|---|
Consumer |
getConsumer()
The
Consumer to acknowledge the message. |
String |
getConsumerName()
The consumer name to acknowledge the message.
|
Duration |
getElapsedTimeSinceLastDelivery()
Get the elapsed time (with milliseconds precision) since the messages last delivery to the
consumer. |
String |
getGroupName()
Get the consumer group.
|
RecordId |
getId() |
String |
getIdAsString() |
long |
getTotalDeliveryCount()
Get the total number of times the messages has been delivered to the
consumer. |
String |
toString() |
public RecordId getId()
public Consumer getConsumer()
Consumer to acknowledge the message.public String getConsumerName()
public String getGroupName()
public Duration getElapsedTimeSinceLastDelivery()
consumer.public long getTotalDeliveryCount()
consumer.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.