|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.messaging.jms.server.MessageStatistics
public class MessageStatistics
Message statistics
Constructor Summary | |
---|---|
MessageStatistics()
Construct a new Message Statistics |
Method Summary | |
---|---|
java.lang.String |
getAsString()
Get message data as string in format "Topic/Queue, Name, Subscription, Durable, Count, CountDelta, Depth, DepthDelta, Timestamp Last Increment" |
int |
getCount()
Get the count. |
int |
getCurrentMessageCount()
|
java.lang.String |
getName()
Get the name. |
java.lang.String |
getSubscriptionID()
Get the subscriptionID. |
long |
getTimeLastUpdate()
Get the timeLastUpdate. |
int |
getTotalMessageCount()
|
boolean |
isDurable()
Get the durable. |
boolean |
isTopic()
Get the topic. |
void |
setCount(int count)
Set the count. |
void |
setCurrentMessageCount(int currentMessageCount)
|
void |
setDurable(boolean durable)
Set the durable. |
void |
setName(java.lang.String name)
Set the name. |
void |
setSubscriptionID(java.lang.String subscriptionID)
Set the subscriptionID. |
void |
setTimeLastUpdate(long timeLastUpdate)
Set the timeLastUpdate. |
void |
setTopic(boolean topic)
Set the topic. |
void |
setTotalMessageCount(int totalMessageCount)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MessageStatistics()
Method Detail |
---|
public int getCount()
public void setCount(int count)
count
- The count to set.public int getTotalMessageCount()
public void setTotalMessageCount(int totalMessageCount)
public boolean isDurable()
public void setDurable(boolean durable)
durable
- The durable to set.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.public java.lang.String getSubscriptionID()
public void setSubscriptionID(java.lang.String subscriptionID)
subscriptionID
- The subscriptionID to set.public long getTimeLastUpdate()
public void setTimeLastUpdate(long timeLastUpdate)
timeLastUpdate
- The timeLastUpdate to set.public int getCurrentMessageCount()
public void setCurrentMessageCount(int currentMessageCount)
public boolean isTopic()
public void setTopic(boolean topic)
topic
- The topic to set.public java.lang.String getAsString()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |