public class ConnectorView extends java.lang.Object implements ConnectorViewMBean
Constructor and Description |
---|
ConnectorView(Connector connector) |
Modifier and Type | Method and Description |
---|---|
int |
connectionCount()
Returns the number of current connections
|
void |
disableStatistics()
disable statistics gathering
|
void |
enableStatistics()
enable statistics gathering
|
BrokerInfo |
getBrokerInfo() |
java.lang.String |
getBrokerName() |
java.lang.String |
getBrokerURL() |
boolean |
isStatisticsEnabled()
Returns true if statistics is enabled
|
void |
resetStatistics()
Resets the statistics
|
void |
start() |
void |
stop() |
public ConnectorView(Connector connector)
public void start() throws java.lang.Exception
public java.lang.String getBrokerName()
public void stop() throws java.lang.Exception
public java.lang.String getBrokerURL()
public BrokerInfo getBrokerInfo()
public void resetStatistics()
resetStatistics
in interface ConnectorViewMBean
public void enableStatistics()
enableStatistics
in interface ConnectorViewMBean
public void disableStatistics()
disableStatistics
in interface ConnectorViewMBean
public boolean isStatisticsEnabled()
isStatisticsEnabled
in interface ConnectorViewMBean
public int connectionCount()
connectionCount
in interface ConnectorViewMBean
Copyright © 2005-2017. All Rights Reserved.