@Override
    public void checkInOk(final String name) {


        if (debug) logger.debug("HealthService::checkInOk() {} ", name);
        final NodeHealthStat nodeHealthStat = getServiceHealthStat(name);


        nodeHealthStat.setLastCheckIn(super.time);
        nodeHealthStat.setReason(null);
        nodeHealthStat.setStatus(HealthStatus.PASS);


        super.incrementCount("checkin");


        onCheckIn.ifPresent(checkIn -> checkIn.accept(BeanUtils.copy(nodeHealthStat)));

    }
@Override
    public void checkInOk(final String name) {


        if (debug) logger.debug("HealthService::checkInOk() {} ", name);
        final NodeHealthStat nodeHealthStat = getServiceHealthStat(name);


        nodeHealthStat.setLastCheckIn(super.time);
        nodeHealthStat.setReason(null);
        nodeHealthStat.setStatus(HealthStatus.PASS);


        super.incrementCount("checkin");


        onCheckIn.ifPresent(checkIn -> checkIn.accept(BeanUtils.copy(nodeHealthStat)));

    }
@ Override public void checkInOk ( final String name ) { if ( debug ) logger . debug ( "HealthService::checkInOk() {} " , name ) ; final NodeHealthStat nodeHealthStat = getServiceHealthStat ( name ) ; nodeHealthStat . setLastCheckIn ( super . time ) ; nodeHealthStat . setReason ( null ) ; nodeHealthStat . setStatus ( HealthStatus . PASS ) ; super . incrementCount ( "checkin" ) ; onCheckIn . ifPresent ( checkIn -> checkIn . accept ( BeanUtils . copy ( nodeHealthStat ) ) ) ; }
Check in the service.

@param name name
Check in the service .