mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-5.3@818536 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fb11e28a91
commit
14b983cab1
|
@ -90,8 +90,8 @@ public abstract class BaseDestination implements Destination {
|
|||
// let's copy the enabled property from the parent DestinationStatistics
|
||||
this.destinationStatistics.setEnabled(parentStats.isEnabled());
|
||||
this.destinationStatistics.setParent(parentStats);
|
||||
this.systemUsage = brokerService.getProducerSystemUsage();
|
||||
this.memoryUsage = new MemoryUsage(systemUsage.getMemoryUsage(), destination.toString());
|
||||
this.systemUsage = new SystemUsage(brokerService.getProducerSystemUsage(), destination.toString());
|
||||
this.memoryUsage = this.systemUsage.getMemoryUsage();
|
||||
this.memoryUsage.setUsagePortion(1.0f);
|
||||
this.regionBroker = brokerService.getRegionBroker();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue