117118119120121122123124125126127
private LoadMetricsCmd createLoadMetricCmd() { ModelNode address = new ModelNode(); address.add("host", currentHost.getName()); address.add("server", getCurrentServer()); return new LoadMetricsCmd( dispatcher, factory, address, metaData ); }