public class QueuePendingMessageMetrics extends Object
Constructor and Description |
---|
QueuePendingMessageMetrics(Queue queue) |
Modifier and Type | Method and Description |
---|---|
void |
decrementMetrics(MessageReference reference) |
int |
getDurableMessageCount() |
long |
getDurablePersistentSize() |
int |
getMessageCount() |
long |
getPersistentSize() |
void |
incrementMetrics(MessageReference reference) |
void |
setDurableMessageCount(int durableMessageCount) |
void |
setDurablePersistentSize(long durablePersistentSize) |
void |
setMessageCount(int messageCount) |
void |
setPersistentSize(long persistentSize) |
public QueuePendingMessageMetrics(Queue queue)
public void incrementMetrics(MessageReference reference)
public void decrementMetrics(MessageReference reference)
public int getMessageCount()
public void setMessageCount(int messageCount)
messageCount
- the messageCount to setpublic long getPersistentSize()
public void setPersistentSize(long persistentSize)
persistentSize
- the persistentSize to setpublic int getDurableMessageCount()
public void setDurableMessageCount(int durableMessageCount)
durableMessageCount
- the durableMessageCount to setpublic long getDurablePersistentSize()
public void setDurablePersistentSize(long durablePersistentSize)
durablePersistentSize
- the durablePersistentSize to setCopyright © 2018 JBoss by Red Hat. All rights reserved.