mirror of https://github.com/apache/activemq.git
Merge pull request #275 from PascalSchumacher/BrokerService_fix_typo
BrokerService: fix typo in field and parameter name
This commit is contained in:
commit
dcb5ba1fb3
|
@ -175,7 +175,7 @@ public class BrokerService implements Service {
|
||||||
private TaskRunnerFactory persistenceTaskRunnerFactory;
|
private TaskRunnerFactory persistenceTaskRunnerFactory;
|
||||||
private SystemUsage systemUsage;
|
private SystemUsage systemUsage;
|
||||||
private SystemUsage producerSystemUsage;
|
private SystemUsage producerSystemUsage;
|
||||||
private SystemUsage consumerSystemUsaage;
|
private SystemUsage consumerSystemUsage;
|
||||||
private PersistenceAdapter persistenceAdapter;
|
private PersistenceAdapter persistenceAdapter;
|
||||||
private PersistenceAdapterFactory persistenceFactory;
|
private PersistenceAdapterFactory persistenceFactory;
|
||||||
protected DestinationFactory destinationFactory;
|
protected DestinationFactory destinationFactory;
|
||||||
|
@ -1207,29 +1207,29 @@ public class BrokerService implements Service {
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
public SystemUsage getConsumerSystemUsage() throws IOException {
|
public SystemUsage getConsumerSystemUsage() throws IOException {
|
||||||
if (this.consumerSystemUsaage == null) {
|
if (this.consumerSystemUsage == null) {
|
||||||
if (splitSystemUsageForProducersConsumers) {
|
if (splitSystemUsageForProducersConsumers) {
|
||||||
this.consumerSystemUsaage = new SystemUsage(getSystemUsage(), "Consumer");
|
this.consumerSystemUsage = new SystemUsage(getSystemUsage(), "Consumer");
|
||||||
float portion = consumerSystemUsagePortion / 100f;
|
float portion = consumerSystemUsagePortion / 100f;
|
||||||
this.consumerSystemUsaage.getMemoryUsage().setUsagePortion(portion);
|
this.consumerSystemUsage.getMemoryUsage().setUsagePortion(portion);
|
||||||
addService(this.consumerSystemUsaage);
|
addService(this.consumerSystemUsage);
|
||||||
} else {
|
} else {
|
||||||
consumerSystemUsaage = getSystemUsage();
|
consumerSystemUsage = getSystemUsage();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return this.consumerSystemUsaage;
|
return this.consumerSystemUsage;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param consumerSystemUsaage
|
* @param consumerSystemUsage
|
||||||
* the storeSystemUsage to set
|
* the storeSystemUsage to set
|
||||||
*/
|
*/
|
||||||
public void setConsumerSystemUsage(SystemUsage consumerSystemUsaage) {
|
public void setConsumerSystemUsage(SystemUsage consumerSystemUsage) {
|
||||||
if (this.consumerSystemUsaage != null) {
|
if (this.consumerSystemUsage != null) {
|
||||||
removeService(this.consumerSystemUsaage);
|
removeService(this.consumerSystemUsage);
|
||||||
}
|
}
|
||||||
this.consumerSystemUsaage = consumerSystemUsaage;
|
this.consumerSystemUsage = consumerSystemUsage;
|
||||||
addService(this.consumerSystemUsaage);
|
addService(this.consumerSystemUsage);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue