e.g. Calendar Search Help
You must enter a value before pressing Search
Search Results OK to copy? Examples 1 through 10 of 85 (0.0030 seconds)
Class: org.apache.tools.ant.taskdefs.TimeProcess  ©, Rating: 100% of 1, C1

29 throw new IllegalArgumentException("Invalid time: " + time); 30 } 31 Thread.sleep(time); 32 } 33 }

Class: org.apache.jmeter.engine.LagDetector  ©, Rating: 100% of 4, C1

80 try 81 { 82 Thread.sleep(incr); 83 } 84 catch (Exception e)

Class: org.apache.jk.apr.TomcatStarter  ©, Rating: 0% of 0, C1

84 apr.jkSetAttribute(0, 0, "channel:jni", "done"); 85 if (args[0].equals("stop")) { 86 Thread.sleep(5000); 87 Runtime.getRuntime().exit(0); 88 }

jgoodies_validation  Class: com.jgoodies.validation.tutorial.performance.BackendService  ©, Rating: 0% of 0, C1

109 private static void sleep(long milliseconds) { 110 try { 111 Thread.sleep(milliseconds); 112 } catch (InterruptedException e) { 113 // Do nothing on interrupt.

Class: org.apache.tomcat.util.threads.Reaper  ©, Rating: 0% of 0, C2

098 break; 099 try { 100 Thread.sleep(interval); 101 } catch (InterruptedException ie) { 102 // sometimes will happen

Class: org.apache.tools.ant.taskdefs.optional.splash.SplashScreenTest  ©, Rating: 0% of 2, C1

46 47 try { 48 Thread.currentThread().sleep(2000); 49 } catch (InterruptedException e) { 50 } // end of try-catch

Class: org.apache.tools.ant.taskdefs.optional.splash.SplashScreenTest  ©, Rating: 0% of 0, C1

38 // give it some time to display 39 try { 40 Thread.currentThread().sleep(2000); 41 } catch (InterruptedException e) { 42 } // end of try-catch

Class: org.apache.jmeter.engine.RemoteJMeterEngineImpl  ©, Rating: 0% of 0, C1

114 while (true) 115 { 116 Thread.sleep(Long.MAX_VALUE); 117 } 118 }

Class: org.springframework.aop.interceptor.ConcurrencyThrottleInterceptorTests  ©, Rating: 100% of 1, C2

068 for (int i = 0; i < NR_OF_THREADS / 10; i++) { 069 try { 070 Thread.sleep(5); 071 } 072 catch (InterruptedException ex) {

Class: org.springframework.util.StopWatchTests  ©, Rating: 0% of 0, C1

076 assertFalse(sw.isRunning()); 077 sw.start(name1); 078 Thread.sleep(int1); 079 assertTrue(sw.isRunning()); 080 sw.stop();

Result Page:  1.0  |  2.0  |  3.0  |  4.0  |  5.0  |  6.0  |  7.0  |  8.0  |  9.0   Next