git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@817713 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2009-09-22 16:06:17 +00:00
parent 7dca53d690
commit db3a021384
1 changed files with 2 additions and 2 deletions

View File

@ -89,8 +89,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();
}