50515253545556
public TimingOutSynchroniser(Duration timeout) { this.lockTimeout = timeout; } public void waitUntil(StatePredicate predicate) throws InterruptedException { waitUntil(predicate, new InfiniteTimeout()); }