/** recalculateStatus */ @Override public void recalculateStatus() { PollableService criticalSvc = getCriticalService(); if (criticalSvc != null) { criticalSvc.recalculateStatus(); updateStatus(criticalSvc.getStatus().isUp() ? PollStatus.up() : PollStatus.down()); } else { super.recalculateStatus(); } }
/** {@inheritDoc} */ @Override protected void visitThis(PollableVisitor v) { super.visitThis(v); v.visitInterface(this); }