OperationalStringManager opMgr = entry.getValue();
logger.debug("Decrement service {}", getNameForLogging(serviceElement));
try {
ServiceBeanInstance[] instances = opMgr.getServiceBeanInstances(serviceElement);
if(instances.length>0) {
ServiceBeanInstance instance = instances[instances.length-1];
opMgr.decrement(instance, true, true);
}
} catch (Throwable t) {
logger.warn("While trying to get the decrement {}", serviceName, t);
}