use of org.opennms.netmgt.poller.pollables.PollableVisitorAdaptor in project opennms by OpenNMS.
the class Poller method refreshServiceThresholds.
/**
* <p>refreshServiceThresholds</p>
*/
public void refreshServiceThresholds() {
PollableVisitor visitor = new PollableVisitorAdaptor() {
@Override
public void visitService(PollableService service) {
service.refreshThresholds();
}
};
getNetwork().visit(visitor);
}
use of org.opennms.netmgt.poller.pollables.PollableVisitorAdaptor in project opennms by OpenNMS.
the class Poller method refreshServicePackages.
/**
* <p>refreshServicePackages</p>
*/
public void refreshServicePackages() {
PollableVisitor visitor = new PollableVisitorAdaptor() {
@Override
public void visitService(PollableService service) {
service.refreshConfig();
}
};
getNetwork().visit(visitor);
}
Aggregations