CassandraCacheConfiguration { public static Builder builder() { return new Builder(); } private  CassandraCacheConfiguration(Duration timeout, int sizeThresholdInBytes, Duration ttl); static Builder builder(); static CassandraCacheConfiguration from(Configuration configuration); Duration getReadTimeOut(); Duration getTtl(); int getSizeThresholdInBytes(); @Override final boolean equals(Object o); @Override final int hashCode(); static final CassandraCacheConfiguration DEFAULT; }
@Test void timeOutShouldNotThrowWhenMilliSeconds() { assertThatCode(() -> CassandraCacheConfiguration.builder().timeOut(Duration.ofMillis(50))) .doesNotThrowAnyException(); }