Here you can find the source of pauseRequests(int length)
Parameter | Description |
---|---|
length | the number of milliseconds to sleep |
private static void pauseRequests(int length) throws InterruptedException
//package com.java2s; //License from project: Open Source License public class Main { /**/*from w w w . j a va 2 s. co m*/ * Pauses the current threads' execution for the given number of milliseconds. * @param length the number of milliseconds to sleep */ private static void pauseRequests(int length) throws InterruptedException { Thread.sleep(length); } }