|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hornetq.api.jms.management.SubscriptionInfo
public class SubscriptionInfo
Helper class to create Java Objects from the
JSON serialization returned by TopicControl.listAllSubscriptionsAsJSON()
and related methods.
Method Summary | |
---|---|
static SubscriptionInfo[] |
from(String jsonString)
Returns an array of SubscriptionInfo corresponding to the JSON serialization returned by TopicControl.listAllSubscriptionsAsJSON() and related methods. |
String |
getClientID()
Returns the client ID of this subscription or null . |
int |
getDeliveringCount()
Returns the number of messages currently delivered to this subscription. |
int |
getMessageCount()
Returns the number of messages currently held by this subscription. |
String |
getName()
Returns the name of this subscription. |
String |
getQueueName()
Returns the name of the HornetQ core queue corresponding to this subscription. |
String |
getSelector()
Returns the JMS message selector associated to this subscription. |
boolean |
isDurable()
Returns whether this subscription is durable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SubscriptionInfo[] from(String jsonString) throws Exception
TopicControl.listAllSubscriptionsAsJSON()
and related methods.
Exception
public String getQueueName()
public String getClientID()
null
.
public String getName()
public boolean isDurable()
public String getSelector()
public int getMessageCount()
public int getDeliveringCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |