/**
* Visit reader class
*/
public void visit(BaseReader br) {
// FIXME, make as assert here about no class cast exception
HealthCheckerReader hRdr = (HealthCheckerReader) br;
_c.setHealthChecker(true);
try {
_c.setHealthCheckerUrl(hRdr.getUrl());
} catch (LbReaderException le) {
// XXX ignore
}
try {
_c.setHealthCheckerIntervalInSeconds(hRdr.getIntervalInSeconds());
} catch (LbReaderException le) {
// XXX ignore
}
try {
_c.setHealthCheckerTimeoutInSeconds(hRdr.getTimeoutInSeconds());
} catch (LbReaderException le) {
// XXX ignore
}
}