public class DurableInfo
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClientID()
Get the client ID associated with this durable.
|
long |
getConsumerID()
Get the consumer ID associated with this durable.
|
long |
getDeliveredMessageCount()
Get the number of messages that have been delivered to the
durable subscription but have not yet been acknowledged.
|
java.lang.String |
getDurableName()
Get the name of this durable.
|
long |
getPendingMessageCount()
Get the total number of messages waiting to be delivered to this
durable subscription.
|
long |
getPendingMessageSize()
Get the total size, in bytes, of messages waiting to be delivered to
this durable subscription.
|
java.lang.String |
getSelector()
Get the selector that this durable uses.
|
java.lang.String |
getTopicName()
Get the topic name that this durable subscribes to.
|
java.lang.String |
getUserName()
Get the name of the authenticated user whose connection this durable
subscriber is currently using.
|
boolean |
isActive()
Deprecated.
deprecated in EMS 4.4, use
isConnected() |
boolean |
isConnected()
Determine if this durable is connected or dormant.
|
boolean |
isNoLocalEnabled()
Indicates whether or not the durable has opted not to receive "local"
messages.
|
boolean |
isShared()
Returns
true if this is a shared durable consumer. |
boolean |
isStatic()
Determine if this durable is static.
|
java.lang.String |
toString()
Generate a string representation of this DurableInfo.
|
public java.lang.String getDurableName()
public java.lang.String getTopicName()
public java.lang.String getClientID()
public java.lang.String getUserName()
public long getConsumerID()
@Deprecated public boolean isActive()
isConnected()
isConnected()
.public boolean isConnected()
public long getPendingMessageCount()
public long getDeliveredMessageCount()
public long getPendingMessageSize()
public boolean isNoLocalEnabled()
public java.lang.String getSelector()
public boolean isStatic()
public boolean isShared()
true
if this is a shared durable consumer.
The shared subscription name is returned by
getDurableName()
.true
if this is a shared durable consumer.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © Cloud Software Group, Inc. All rights reserved