|
Sonic Management API | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRemoteSubscriptionSummary
This interface aggregates and summarizes information on remote subscriptions propagated by another routing node to a broker.
The broker exposes an operation "getRemoteSubscriptionSummary" through its JMX interface. This operation returns an array list of IRemoteSubscriptionSummary elements.
IBrokerProxy.getRemoteSubscriptionSummary(java.lang.String)
,
IBrokerProxy.getRemoteSubscriptionSummary(java.lang.String,java.lang.Boolean)
Method Summary | |
---|---|
long |
getMessageCount()
Gets the number of messages currently held in the routing queue of this broker that are destined for the propagating routing node and result from publications to remote subscriptions topics. |
long |
getMessageSize()
Gets the total bytes of messages currently held in the routing queue of this broker that are destined for the propagating routing node and result from publications to remote subscriptions topics. |
java.lang.String |
getNodeName()
Gets the routing node name of the remote routing node that is propagating subscriptions. |
boolean |
hasRemoteSubscription()
Returns true if the remote node has propagated at least one remote subscription to this broker. |
Method Detail |
---|
long getMessageCount()
The returned value will always be 0 if the remote node has not propagated remote subscriptions to this broker.
hasRemoteSubscription()
long getMessageSize()
The returned value will always be 0 if the remote node has not propagated remote subscriptions to this broker.
hasRemoteSubscription()
java.lang.String getNodeName()
boolean hasRemoteSubscription()
If the remote node has not propagated remote subscriptions with the broker then both the message count and message size will be 0.
getMessageCount()
,
getMessageSize()
|
Sonic Management API | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |