Java Sleep sleepForIOCatchup()

Here you can find the source of sleepForIOCatchup()

Description

sleep For IO Catchup

License

Open Source License

Declaration

public static void sleepForIOCatchup() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static void sleepForIOCatchup() {
        // Wait for I/O to catch up and close async appenders
        System.out.println("Waiting 10 seconds for I/O to catch up and properly close async appenders.");
        try {/*from   w ww  .j a  va  2  s.  co m*/
            Thread.sleep(10000);
        } catch (InterruptedException ie) {
            System.err.println("Interrupted while waiting for I/O to catch up.");
        }
    }
}

Related

  1. sleepFor(long millis)
  2. sleepForAuditGranularity()
  3. sleepForever()
  4. sleepForever()
  5. sleepForever()
  6. sleepForReal(long time)
  7. sleepForSecs(double numSecs)
  8. sleepForSomeTime(long milliseconds)
  9. sleepForTimestamp()