wątek.sleep
TimeUnit.SECONDS.sleep(1);
Envious Eagle
TimeUnit.SECONDS.sleep(1);
Thread.sleep(5000);