@Test public void builderRefreshPeriodIsNull() throws Exception { exception.expect(NullPointerException.class); exception.expectMessage(REFRESH_PERIOD_MUST_NOT_BE_NULL); RateLimiterConfig.custom() .limitRefreshPeriod(null); }
public static Builder custom() { return new Builder(); }
RateLimiterConfig implements Serializable { public static Builder custom() { return new Builder(); } }
RateLimiterConfig implements Serializable { public static Builder custom() { return new Builder(); } private  RateLimiterConfig(Duration timeoutDuration, Duration limitRefreshPeriod,
        int limitForPeriod, boolean writableStackTraceEnabled); }
RateLimiterConfig implements Serializable { public static Builder custom() { return new Builder(); } private  RateLimiterConfig(Duration timeoutDuration, Duration limitRefreshPeriod,
        int limitForPeriod, boolean writableStackTraceEnabled); static Builder custom(); static Builder from(RateLimiterConfig prototype); static RateLimiterConfig ofDefaults(); Duration getTimeoutDuration(); Duration getLimitRefreshPeriod(); int getLimitForPeriod(); boolean isWritableStackTraceEnabled(); @Override String toString(); }
RateLimiterConfig implements Serializable { public static Builder custom() { return new Builder(); } private  RateLimiterConfig(Duration timeoutDuration, Duration limitRefreshPeriod,
        int limitForPeriod, boolean writableStackTraceEnabled); static Builder custom(); static Builder from(RateLimiterConfig prototype); static RateLimiterConfig ofDefaults(); Duration getTimeoutDuration(); Duration getLimitRefreshPeriod(); int getLimitForPeriod(); boolean isWritableStackTraceEnabled(); @Override String toString();  }