Infosys interview question

How circuit breaker is implemented