I did not understand the explanation at oracle, what is this piece of code actually doing?
final int maximumDelay = (int) TimeUnit.SECONDS.toMillis(1000);