class CircuitBreaker {

    public void closeCircuit() {
        this.lock.lock();
        try {
            this.countDown = this.threshold;

            if (this.status != Status.CLOSED) {
                LOGGER.info("Close circuit");
                this.currentDuration = this.initialDuration;
                this.status = Status.CLOSED;
                this.closeCircuitInstant = null;
            }
        } finally {
            this.lock.unlock();
        }
    }

    private  CircuitBreaker(final Builder builder);

}