Exception lastException = null;
for (int retries = 0; retries < 3; retries++) {
</BUG>
try {
double processCpuLoad = solrJmxAdapter.getProcessCpuLoad();
<BUG>addMetric("logsearch.solr.cpu.usage", "Float", processCpuLoad, metrics);
return;</BUG>
} catch (MalformedObjectNameException e) {
lastException = e;
try {

Exception lastException = null;
for (int retries = 0; retries < RETRY; retries++) {
try {
double processCpuLoad = solrJmxAdapter.getProcessCpuLoad();
addMetric("logsearch.solr.cpu.usage", "Float", processCpuLoad);
return;
} catch (MalformedObjectNameException e) {
lastException = e;
try {
