@Override
    public void register(final String name, final long ttl, final TimeUnit timeUnit) {

        logger.info("HealthService::register() {} {} {}", name, ttl, timeUnit);
        final NodeHealthStat nodeHealthStat = new NodeHealthStat(name, timeUnit.toMillis(ttl));
        serviceHealthStatMap.put(name, nodeHealthStat);
        super.incrementCount("nodes");
        super.recordLevel("nodes", serviceHealthStatMap.size());


    }
@Override
    public void register(final String name, final long ttl, final TimeUnit timeUnit) {

        logger.info("HealthService::register() {} {} {}", name, ttl, timeUnit);
        final NodeHealthStat nodeHealthStat = new NodeHealthStat(name, timeUnit.toMillis(ttl));
        serviceHealthStatMap.put(name, nodeHealthStat);
        super.incrementCount("nodes");
        super.recordLevel("nodes", serviceHealthStatMap.size());


    }
@ Override public void register ( final String name , final long ttl , final TimeUnit timeUnit ) { logger . info ( "HealthService::register() {} {} {}" , name , ttl , timeUnit ) ; final NodeHealthStat nodeHealthStat = new NodeHealthStat ( name , timeUnit . toMillis ( ttl ) ) ; serviceHealthStatMap . put ( name , nodeHealthStat ) ; super . incrementCount ( "nodes" ) ; super . recordLevel ( "nodes" , serviceHealthStatMap . size ( ) ) ; }
Register method to register services / internal nodes.

@param name     name
@param ttl      ttl
@param timeUnit timeUnit
Register method to register services / internal nodes .