|
Sonic Management API | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConnectionMemberDetails
This interface provides detailed information relating to a member of a broker
connection. It extends the basic name and type information provided by
IConnectionMemberInfo
.
A few common attributes are exposed via dedicated methods. These include the member's state, and, in the case of consumers, the associated JMS destination (e.g. queue or topic).
The bulk of the information is provided in a String-based properties map.
Individual properties can be extracted from the map using the PROPERTY_*
constants as key values. The set of properties present varies depending on the connection
member's type and internal state, and is subject to change in future releases.
IBrokerProxy.getConnectionMemberDetails(java.util.ArrayList)
Field Summary | |
---|---|
static java.lang.String |
ACKNOWLEDGE_MODE_AUTO
Value of PROPERTY_SESSION_ACKNOWLEDGE_MODE property representing the AUTO_ACKNOWLEDGE acknowledgement mode. |
static java.lang.String |
ACKNOWLEDGE_MODE_CLIENT
Value of PROPERTY_SESSION_ACKNOWLEDGE_MODE property representing the CLIENT_ACKNOWLEDGE acknowledgement mode. |
static java.lang.String |
ACKNOWLEDGE_MODE_DUPS_OK
Value of PROPERTY_SESSION_ACKNOWLEDGE_MODE property representing the DUPS_OK_ACKNOWLEDGE acknowledgement mode. |
static java.lang.String |
ACKNOWLEDGE_MODE_SINGLE_MESSAGE
Value of PROPERTY_SESSION_ACKNOWLEDGE_MODE property representing the SINGLE_MESSAGE_ACKNOWLEDGE acknowledgement mode. |
static java.lang.String |
ACKNOWLEDGE_MODE_TRANSACTED
Value of PROPERTY_SESSION_ACKNOWLEDGE_MODE property representing a transacted session. |
static java.lang.String |
CONNECTION_TYPE_APPLICATION
Value of PROPERTY_CONNECTION_CONNECTION_TYPE property representing a JMS client application connection. |
static java.lang.String |
CONNECTION_TYPE_CLUSTER
Value of PROPERTY_CONNECTION_CONNECTION_TYPE property representing an interbroker (cluster) connection. |
static java.lang.String |
CONNECTION_TYPE_JNDI
Value of PROPERTY_CONNECTION_CONNECTION_TYPE property representing a connection to the Sonic JNDI store. |
static java.lang.String |
CONNECTION_TYPE_MANAGEMENT_CLIENT
Value of PROPERTY_CONNECTION_CONNECTION_TYPE property representing a management connection to the Domain Manager. |
static java.lang.String |
CONNECTION_TYPE_MANAGEMENT_CONTAINER
Value of PROPERTY_CONNECTION_CONNECTION_TYPE property representing an MF Container's management connection to the Domain Manager. |
static java.lang.String |
CONNECTION_TYPE_ROUTING
Value of PROPERTY_CONNECTION_CONNECTION_TYPE property representing a routing (DRA) connection. |
static java.lang.String |
PROPERTY_CONNECTION_ACCEPTOR_NAME
Name of property providing the name of the acceptor handling the connection. |
static java.lang.String |
PROPERTY_CONNECTION_ACCEPTOR_URL
Name of property providing the URL of the acceptor handling the connection. |
static java.lang.String |
PROPERTY_CONNECTION_CLUSTER_PEER
Name of property identifying the name of the peer broker if this is an interbroker (cluster) connection. |
static java.lang.String |
PROPERTY_CONNECTION_CONNECTION_TYPE
Name of property indicating the type of the connection. |
static java.lang.String |
PROPERTY_CONNECTION_CONSUMER_COUNT
Name of property providing the number of consumers associated with the connection. |
static java.lang.String |
PROPERTY_CONNECTION_FAULT_TOLERANT
Name of property indicating whether this is a fault tolerant connection. |
static java.lang.String |
PROPERTY_CONNECTION_LOCAL_SOCKET
Name of property providing information about the connection's local (broker-side) socket. |
static java.lang.String |
PROPERTY_CONNECTION_PROTOCOL
Name of property providing the protocol version used for the connection, e.g. |
static java.lang.String |
PROPERTY_CONNECTION_REMOTE_BROKER
Name of property identifying the name of the remote DRA broker if this is a routing connection. |
static java.lang.String |
PROPERTY_CONNECTION_REMOTE_NODE
Name of property identifying the name of the remote DRA node if this is a routing connection. |
static java.lang.String |
PROPERTY_CONNECTION_REMOTE_SOCKET
Name of property providing information about the connection's remote (client-side, or another broker) socket. |
static java.lang.String |
PROPERTY_CONNECTION_SESSION_COUNT
Name of property providing the number of sessions associated with the connection. |
static java.lang.String |
PROPERTY_CONNECTION_USER
Name of property providing the user associated with the connection. |
static java.lang.String |
PROPERTY_CONNECTION_VERSION
Name of property providing the client's product version and build info (if available). |
static java.lang.String |
PROPERTY_CONSUMER_DURABLE_MESSAGE_ORDER
Name of property indicating, for a durable subscriber, that strict message ordering across a cluster is enabled. |
static java.lang.String |
PROPERTY_CONSUMER_FLOW_TO_DISK_ENABLED
Name of property indicating whether the Flow To Disk feature is enabled for this consumer. |
static java.lang.String |
PROPERTY_CONSUMER_FLOW_TO_DISK_STATUS
Name of property indicating whether messages are currently flowing to disk for this consumer. |
static java.lang.String |
PROPERTY_CONSUMER_SELECTOR
Name of property providing the value of the consumer's message selector if it has one. |
static java.lang.String |
PROPERTY_CONSUMER_SELECTOR_AT_BROKER
Name of property indicating whether the message selector is applied by the broker or client. |
static java.lang.String |
PROPERTY_FLOW_CONTROL_BLOCKED_SENDERS
Name of property identifying any sender(s) blocked by this subscriber. |
static java.lang.String |
PROPERTY_FLOW_CONTROL_BLOCKING_CONSUMERS
Name of property identifying any subscriber(s) blocking this sender. |
static java.lang.String |
PROPERTY_FLOW_CONTROL_BLOCKING_DESTINATIONS
Name of property identifying the destination(s) (typically queues) blocking this sender. |
static java.lang.String |
PROPERTY_FLOW_CONTROL_BY_PEER_MIN_PRIORITY
Name of property indicating that flow control is being asserted by the peer on the other side of the connection. |
static java.lang.String |
PROPERTY_FLOW_CONTROL_MIN_PUBLISH_PRIORITY
Name of property indicating that flow control is being asserted due to buffers on the local broker having filled. |
static java.lang.String |
PROPERTY_MESSAGES_OUTGOING_COUNT
Name of property providing the number of messages queued for delivery to this connection member. |
static java.lang.String |
PROPERTY_MESSAGES_OUTGOING_SIZE
Name of property providing the total size of the messages queued for delivery to this connection member. |
static java.lang.String |
PROPERTY_MESSAGES_PENDING_COUNT
Name of property providing the number of messages pending acknowledgement by this connection member. |
static java.lang.String |
PROPERTY_MESSAGES_PENDING_SIZE
Name of property providing the total size of the messages pending acknowledgement by this connection member. |
static java.lang.String |
PROPERTY_SESSION_ACKNOWLEDGE_MODE
Name of property identifying the acknowledgement mode of the session. |
static short |
STATE_DISCONNECTED
State constant indicating that the connection member has been disconnected. |
static short |
STATE_PENDING_RECONNECT
State constant indicating that the connection member is pending reconnect. |
static short |
STATE_RESTORING
State constant indicating that messages are being restored from disk for this connection member. |
static short |
STATE_STARTED
State constant indicating that the connection member is started (i.e. active). |
static short |
STATE_STOPPED
State constant indicating that the connection associated with this member has been stopped, or has not yet been started. |
static java.lang.String[] |
STATE_TEXT
Textual representations of connection member states (indexed by STATE_<> values). |
static short |
STATE_UNKNOWN
State constant indicating that the connection member is in an unknown state. |
Method Summary | |
---|---|
IDestination |
getDestination()
If the member represents a consumer then this method returns the destination the consumer is listening on, otherwise it will return null. |
IConnectionMemberInfo |
getInfo()
Returns the IConnectionMemberInfo associated with this connection member. |
java.util.Map |
getProperties()
Gets additional properties associated with this connection member. |
short |
getState()
Returns the state constant indicating this connection member's current state. |
java.lang.String |
getStateString()
Returns a textual representation of this connection member's current state. |
long |
getTimeConnected()
Gets the time at which this member was created. |
long |
getTimeOfLastStateChange()
Gets the time at which this member's state transitioned to that returned by getState(). |
Field Detail |
---|
static final java.lang.String ACKNOWLEDGE_MODE_AUTO
PROPERTY_SESSION_ACKNOWLEDGE_MODE
property representing the AUTO_ACKNOWLEDGE acknowledgement mode.
static final java.lang.String ACKNOWLEDGE_MODE_CLIENT
PROPERTY_SESSION_ACKNOWLEDGE_MODE
property representing the CLIENT_ACKNOWLEDGE acknowledgement mode.
static final java.lang.String ACKNOWLEDGE_MODE_DUPS_OK
PROPERTY_SESSION_ACKNOWLEDGE_MODE
property representing the DUPS_OK_ACKNOWLEDGE acknowledgement mode.
static final java.lang.String ACKNOWLEDGE_MODE_SINGLE_MESSAGE
PROPERTY_SESSION_ACKNOWLEDGE_MODE
property representing the SINGLE_MESSAGE_ACKNOWLEDGE acknowledgement mode.
static final java.lang.String ACKNOWLEDGE_MODE_TRANSACTED
PROPERTY_SESSION_ACKNOWLEDGE_MODE
property representing a transacted session.
static final java.lang.String CONNECTION_TYPE_APPLICATION
PROPERTY_CONNECTION_CONNECTION_TYPE
property representing a JMS client application connection.
static final java.lang.String CONNECTION_TYPE_CLUSTER
PROPERTY_CONNECTION_CONNECTION_TYPE
property representing an interbroker (cluster) connection.
static final java.lang.String CONNECTION_TYPE_JNDI
PROPERTY_CONNECTION_CONNECTION_TYPE
property representing a connection to the Sonic JNDI store.
static final java.lang.String CONNECTION_TYPE_MANAGEMENT_CLIENT
PROPERTY_CONNECTION_CONNECTION_TYPE
property representing a management connection to the Domain Manager.
static final java.lang.String CONNECTION_TYPE_MANAGEMENT_CONTAINER
PROPERTY_CONNECTION_CONNECTION_TYPE
property representing an MF Container's management connection to the Domain Manager.
static final java.lang.String CONNECTION_TYPE_ROUTING
PROPERTY_CONNECTION_CONNECTION_TYPE
property representing a routing (DRA) connection.
static final java.lang.String PROPERTY_CONNECTION_ACCEPTOR_NAME
static final java.lang.String PROPERTY_CONNECTION_ACCEPTOR_URL
static final java.lang.String PROPERTY_CONNECTION_CLUSTER_PEER
static final java.lang.String PROPERTY_CONNECTION_CONNECTION_TYPE
static final java.lang.String PROPERTY_CONNECTION_CONSUMER_COUNT
static final java.lang.String PROPERTY_CONNECTION_FAULT_TOLERANT
static final java.lang.String PROPERTY_CONNECTION_LOCAL_SOCKET
static final java.lang.String PROPERTY_CONNECTION_PROTOCOL
static final java.lang.String PROPERTY_CONNECTION_REMOTE_BROKER
static final java.lang.String PROPERTY_CONNECTION_REMOTE_NODE
static final java.lang.String PROPERTY_CONNECTION_REMOTE_SOCKET
static final java.lang.String PROPERTY_CONNECTION_SESSION_COUNT
static final java.lang.String PROPERTY_CONNECTION_USER
static final java.lang.String PROPERTY_CONNECTION_VERSION
static final java.lang.String PROPERTY_CONSUMER_DURABLE_MESSAGE_ORDER
static final java.lang.String PROPERTY_CONSUMER_FLOW_TO_DISK_ENABLED
static final java.lang.String PROPERTY_CONSUMER_FLOW_TO_DISK_STATUS
static final java.lang.String PROPERTY_CONSUMER_SELECTOR
static final java.lang.String PROPERTY_CONSUMER_SELECTOR_AT_BROKER
static final java.lang.String PROPERTY_FLOW_CONTROL_BLOCKED_SENDERS
static final java.lang.String PROPERTY_FLOW_CONTROL_BLOCKING_CONSUMERS
static final java.lang.String PROPERTY_FLOW_CONTROL_BLOCKING_DESTINATIONS
static final java.lang.String PROPERTY_FLOW_CONTROL_BY_PEER_MIN_PRIORITY
static final java.lang.String PROPERTY_FLOW_CONTROL_MIN_PUBLISH_PRIORITY
static final java.lang.String PROPERTY_MESSAGES_OUTGOING_COUNT
static final java.lang.String PROPERTY_MESSAGES_OUTGOING_SIZE
static final java.lang.String PROPERTY_MESSAGES_PENDING_COUNT
static final java.lang.String PROPERTY_MESSAGES_PENDING_SIZE
static final java.lang.String PROPERTY_SESSION_ACKNOWLEDGE_MODE
static final short STATE_DISCONNECTED
static final short STATE_PENDING_RECONNECT
static final short STATE_RESTORING
static final short STATE_STARTED
static final short STATE_STOPPED
static final java.lang.String[] STATE_TEXT
static final short STATE_UNKNOWN
Method Detail |
---|
IDestination getDestination()
JMSObjectFactory.createJMSDestination(IDestination)
IConnectionMemberInfo getInfo()
java.util.Map getProperties()
short getState()
java.lang.String getStateString()
long getTimeConnected()
long getTimeOfLastStateChange()
|
Sonic Management API | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |