Method wait(long timeout)
Return type: void
Member of: java.lang.Object
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 wait(100);
2 if (state == LOADING) wait(timeout);
3 Thread.currentThread().wait(60000);
4 wait(100);
5 this.wait(1000);
6 wait(30000); // FIXME should be tunable, now set to 30s
7 wait(10000L);
8 ack.wait(15000); // wait up to 15 seconds for ACK
9 wait( 1000 );
10 wait(1);
11 try { wait(10); }
12 threadSync.wait(5000);
13 m_lock.wait(100);
14 this.wait (1000);
15 connectionLock.wait(10000);
16 nextRunnableLock.wait(1000);
17 mPool.wait(0);
18 Thread.currentThread().wait(200);
19 lock.wait(1000L);
20 wait(1000);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.