allowRequest

Returns true if a call should be allowed through.

In CLOSED state, always allows. In OPEN state, blocks until cooldown expires. In HALF_OPEN state, allows exactly one probe call.