public class MessageBrokerView
extends java.lang.Object
Constructor and Description |
---|
MessageBrokerView(BrokerService brokerService)
Create a view of a running Broker
|
MessageBrokerView(java.lang.String brokerName)
Create a view of a running Broker
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBrokerId() |
java.lang.String |
getBrokerName() |
BrokerService |
getBrokerService() |
java.util.Set<ActiveMQDestination> |
getDestinations()
Retrieve a set of all Destinations be used by the Broker
|
BrokerDestinationView |
getDestinationView(ActiveMQDestination activeMQDestination)
Get the BrokerDestinationView associated with destination
|
BrokerDestinationView |
getDestinationView(java.lang.String destinationName)
It will be assumed the destinationName is prepended with topic:// or queue:// - but
will default to a Queue
|
BrokerDestinationView |
getDestinationView(java.lang.String destinationName,
byte type)
Get the BrokerDestinationView associated with destination
|
int |
getJobSchedulerStorePercentUsage() |
int |
getMemoryPercentUsage() |
BrokerDestinationView |
getQueueDestinationView(java.lang.String destinationName)
Get the BrokerDestinationView associated with the queue
|
java.util.Set<ActiveMQQueue> |
getQueues()
Retrieve a set of all Queues be used by the Broker
|
int |
getStorePercentUsage() |
int |
getTempPercentUsage() |
java.util.Set<ActiveMQTempQueue> |
getTempQueues()
Retrieve a set of all TemporaryQueues be used by the Broker
|
java.util.Set<ActiveMQTempTopic> |
getTempTopics()
Retrieve a set of all TemporaryTopics be used by the Broker
|
BrokerDestinationView |
getTopicDestinationView(java.lang.String destinationName)
Get the BrokerDestinationView associated with the topic
|
java.util.Set<ActiveMQTopic> |
getTopics()
Retrieve a set of all Topics be used by the Broker
|
boolean |
isPersistent() |
public MessageBrokerView(BrokerService brokerService)
brokerService
- public MessageBrokerView(java.lang.String brokerName)
brokerName
- public java.lang.String getBrokerName()
public java.lang.String getBrokerId()
public int getMemoryPercentUsage()
public int getStorePercentUsage()
public int getTempPercentUsage()
public int getJobSchedulerStorePercentUsage()
public boolean isPersistent()
public BrokerService getBrokerService()
public java.util.Set<ActiveMQDestination> getDestinations()
public java.util.Set<ActiveMQTopic> getTopics()
public java.util.Set<ActiveMQQueue> getQueues()
public java.util.Set<ActiveMQTempTopic> getTempTopics()
public java.util.Set<ActiveMQTempQueue> getTempQueues()
public BrokerDestinationView getDestinationView(java.lang.String destinationName) throws java.lang.Exception
destinationName
- java.lang.Exception
public BrokerDestinationView getTopicDestinationView(java.lang.String destinationName) throws java.lang.Exception
destinationName
- java.lang.Exception
public BrokerDestinationView getQueueDestinationView(java.lang.String destinationName) throws java.lang.Exception
destinationName
- java.lang.Exception
public BrokerDestinationView getDestinationView(java.lang.String destinationName, byte type) throws java.lang.Exception
destinationName
- type
- expects either ActiveMQDestination.QUEUE_TYPE, ActiveMQDestination.TOPIC_TYPE etcjava.lang.Exception
public BrokerDestinationView getDestinationView(ActiveMQDestination activeMQDestination) throws java.lang.Exception
activeMQDestination
- java.lang.Exception
Copyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.