public CircuitBreakerBuilder circuitOpenWindow(Duration circuitOpenWindow){
  requireNonNull(circuitOpenWindow,"circuitOpenWindow");
  if (circuitOpenWindow.isNegative() || circuitOpenWindow.isZero()) {
    throw new IllegalArgumentException("circuitOpenWindow: " + circuitOpenWindow + " (expected: > 0)");
  }
  this.circuitOpenWindow=circuitOpenWindow;
  return this;
}

public CircuitBreakerBuilder circuitOpenWindow ( Duration circuitOpenWindow ) { requireNonNull ( circuitOpenWindow , "circuitOpenWindow" ) ; if ( circuitOpenWindow . isNegative ( ) || circuitOpenWindow . isZero ( ) ) { throw new IllegalArgumentException ( "circuitOpenWindow: " + circuitOpenWindow + " (expected: > 0)" ) ; } this . circuitOpenWindow = circuitOpenWindow ; return this ; }
sets the duration of open state .
