public void healthCheck()

in edas-demo/hsf-demo/demo-grey/itemcenter/src/main/java/com/alibaba/edas/carshop/itemcenter/ItemServiceImpl.java [81:93]


    public void healthCheck() throws HealthCheckException {
        if (TIMEOUT > 1) {
            try {
                TimeUnit.SECONDS.sleep(TIMEOUT);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        } else if (TIMEOUT <= -1) {
            throw new HealthCheckException();
        }

        System.out.println("Doing health check.");
    }