- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {ArrayList a =
new ArrayList<String>()
new ArrayList()
new ArrayList<Object>()
- Smart code suggestions by Codota
}
@Test public void throwOnNegativeLeaderPingResponseWait() { assertThatThrownBy(() -> ImmutableTimeLockRuntimeConfiguration.builder() .slowLockLogTriggerMillis(-1L) .build()).isInstanceOf(IllegalStateException.class); }
@Test public void canCreateWithZeroClients() { ImmutableTimeLockRuntimeConfiguration.builder().build(); }
@Test public void canSpecifyPositiveLockLoggerTimeout() { ImmutableTimeLockRuntimeConfiguration.builder() .slowLockLogTriggerMillis(1L) .build(); }
.build(); TimeLockRuntimeConfiguration runtime = ImmutableTimeLockRuntimeConfiguration.builder() .paxos(ImmutablePaxosRuntimeConfiguration.builder() .leaderPingResponseWaitMs(paxos.leaderPingResponseWaitMs())