|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BrokerViewMBean
Methods inherited from interface org.apache.activemq.Service |
---|
start |
Method Detail |
---|
String getBrokerId()
String getBrokerName()
void gc() throws Exception
Exception
void resetStatistics()
void enableStatistics()
void disableStatistics()
boolean isStatisticsEnabled()
long getTotalEnqueueCount()
long getTotalDequeueCount()
long getTotalConsumerCount()
long getTotalMessageCount()
int getMemoryPercentUsage()
long getMemoryLimit()
void setMemoryLimit(long limit)
int getStorePercentUsage()
long getStoreLimit()
void setStoreLimit(long limit)
int getTempPercentUsage()
long getTempLimit()
void setTempLimit(long limit)
boolean isPersistent()
boolean isSlave()
void terminateJVM(int exitCode)
exitCode
- the exit code that will be reported by the JVM process
when it exits.void stop() throws Exception
stop
in interface Service
Exception
void stopGracefully(String connectorName, String queueName, long timeout, long pollInterval) throws Exception
Exception
ObjectName[] getTopics()
ObjectName[] getQueues()
ObjectName[] getTemporaryTopics()
ObjectName[] getTemporaryQueues()
ObjectName[] getTopicSubscribers()
ObjectName[] getDurableTopicSubscribers()
ObjectName[] getInactiveDurableTopicSubscribers()
ObjectName[] getQueueSubscribers()
ObjectName[] getTemporaryTopicSubscribers()
ObjectName[] getTemporaryQueueSubscribers()
String addConnector(String discoveryAddress) throws Exception
Exception
String addNetworkConnector(String discoveryAddress) throws Exception
Exception
boolean removeConnector(String connectorName) throws Exception
Exception
boolean removeNetworkConnector(String connectorName) throws Exception
Exception
void addTopic(String name) throws Exception
name
- The name of the Topic
Exception
void addQueue(String name) throws Exception
name
- The name of the Queue
Exception
void removeTopic(String name) throws Exception
name
- The name of the Topic
Exception
void removeQueue(String name) throws Exception
name
- The name of the Queue
Exception
ObjectName createDurableSubscriber(String clientId, String subscriberName, String topicName, String selector) throws Exception
clientId
- the JMS client IDsubscriberName
- the durable subscriber nametopicName
- the name of the topic to subscribe toselector
- a selector or null
Exception
void destroyDurableSubscriber(String clientId, String subscriberName) throws Exception
clientId
- the JMS client IDsubscriberName
- the durable subscriber name
Exception
void reloadLog4jProperties() throws Throwable
Throwable
String getOpenWireURL()
String getStompURL()
String getSslURL()
String getStompSslURL()
String getVMURL()
String getDataDirectory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |