mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@585413 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
898adccae3
commit
89f793efb0
|
@ -53,6 +53,10 @@ public class BrokerView implements BrokerViewMBean {
|
|||
public String getBrokerId() {
|
||||
return broker.getBrokerId().toString();
|
||||
}
|
||||
|
||||
public String getBrokerName() {
|
||||
return broker.getBrokerName();
|
||||
}
|
||||
|
||||
public void gc() throws Exception {
|
||||
brokerService.getBroker().gc();
|
||||
|
|
|
@ -26,6 +26,11 @@ public interface BrokerViewMBean extends Service {
|
|||
* @return The unique id of the broker.
|
||||
*/
|
||||
String getBrokerId();
|
||||
|
||||
/**
|
||||
* @return The name of the broker.
|
||||
*/
|
||||
String getBrokerName();
|
||||
|
||||
/**
|
||||
* The Broker will fush it's caches so that the garbage collector can
|
||||
|
|
Loading…
Reference in New Issue