|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.broker.jmx.ConnectionView
public class ConnectionView
Constructor Summary | |
---|---|
ConnectionView(Connection connection)
|
|
ConnectionView(Connection connection,
ManagementContext managementContext)
|
Method Summary | |
---|---|
java.lang.String |
getConnectionId()
|
javax.management.ObjectName[] |
getConsumers()
Returns the ObjectNames of all the Consumers created by this Connection. |
int |
getDispatchQueueSize()
Returns the number of messages to be dispatched to this connection |
javax.management.ObjectName[] |
getProducers()
Returns the ObjectNames of all the Producers created by this Connection. |
java.lang.String |
getRemoteAddress()
Returns the source address for this connection |
java.lang.String |
getUserName()
Returns the User Name used to authorize creation of this Connection. |
boolean |
isActive()
|
boolean |
isBlocked()
|
boolean |
isConnected()
|
boolean |
isSlow()
|
void |
resetStatistics()
Resets the statistics |
void |
setUserName(java.lang.String userName)
|
void |
start()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionView(Connection connection)
public ConnectionView(Connection connection, ManagementContext managementContext)
Method Detail |
---|
public void start() throws java.lang.Exception
start
in interface Service
java.lang.Exception
public void stop() throws java.lang.Exception
stop
in interface Service
java.lang.Exception
public boolean isSlow()
isSlow
in interface ConnectionViewMBean
public boolean isBlocked()
isBlocked
in interface ConnectionViewMBean
public boolean isConnected()
isConnected
in interface ConnectionViewMBean
public boolean isActive()
isActive
in interface ConnectionViewMBean
public int getDispatchQueueSize()
ConnectionViewMBean
getDispatchQueueSize
in interface ConnectionViewMBean
public void resetStatistics()
resetStatistics
in interface ConnectionViewMBean
public java.lang.String getRemoteAddress()
ConnectionViewMBean
getRemoteAddress
in interface ConnectionViewMBean
public java.lang.String getConnectionId()
public java.lang.String getUserName()
ConnectionViewMBean
getUserName
in interface ConnectionViewMBean
public void setUserName(java.lang.String userName)
public javax.management.ObjectName[] getConsumers()
ConnectionViewMBean
getConsumers
in interface ConnectionViewMBean
public javax.management.ObjectName[] getProducers()
ConnectionViewMBean
getProducers
in interface ConnectionViewMBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |