public class SubscriptionInfo
extends java.lang.Object
TibjmsAdmin.getSubscriptions()
Modifier and Type | Method and Description |
---|---|
int |
getConsumerCount()
Returns the number of consumers for this subscription.
|
long |
getCreateTime()
Returns this subscription's creation time in milliseconds.
|
long |
getID()
Returns this subscription's ID.
|
java.lang.String |
getName()
Returns this subscription name.
|
long |
getPendingMessageCount()
Returns the number of pending messages on this subscription.
|
long |
getPendingMessageSize()
Returns combined size of pending messages for this subscription.
|
java.lang.String |
getSelector()
Returns this subscription's selector or
null . |
java.lang.String |
getTopicName()
Returns the topic name this subscription is for.
|
boolean |
hasSelector()
Returns
true if this subscription has a selector. |
boolean |
isDurable()
Returns
true if this subscription is a durable
subscription. |
boolean |
isShared()
Returns
true if this subscription is a shared
subscription. |
java.lang.String |
toString()
Returns string representation of this object.
|
public long getID()
public java.lang.String getName()
null
for an unshared
non-durable subscription.null
if this is an unshared
non-durable subscription.public long getCreateTime()
public java.lang.String getTopicName()
public long getPendingMessageCount()
getPendingMessageSize()
public long getPendingMessageSize()
getPendingMessageCount()
public int getConsumerCount()
isDurable()
,
isShared()
public boolean hasSelector()
true
if this subscription has a selector.true
if this subscription has a selector.getSelector()
public java.lang.String getSelector()
null
.null
if this
subscription has no selector.public boolean isShared()
true
if this subscription is a shared
subscription.true
if this subscription is a shared
subscription.public boolean isDurable()
true
if this subscription is a durable
subscription.true
if this subscription is a durable
subscription.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © Cloud Software Group, Inc. All rights reserved