import org.apache.karaf.shell.commands.Argument;
import org.apache.karaf.shell.commands.Command;
import org.apache.karaf.shell.console.OsgiCommandSupport;
+import org.eclipse.jdt.annotation.Nullable;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public void setQosAlertManager(QosAlertManager qosAlertManager) {
this.qosAlertManager = qosAlertManager;
- LOG.debug("Qos manager:{} set", qosAlertManager);
+ LOG.trace("Qos manager:{} set", qosAlertManager);
}
@Override
+ @Nullable
protected Object doExecute() {
LOG.debug("setting threshold in qos alert manager:{}", interval);
qosAlertManager.setPollInterval(Integer.parseInt(interval));