1 7 8 package java.util.concurrent.locks; 9 import java.util.concurrent.*; 10 import java.util.Date ; 11 12 149 public interface Condition { 150 151 200 void await() throws InterruptedException ; 201 202 236 void awaitUninterruptibly(); 237 238 322 long awaitNanos(long nanosTimeout) throws InterruptedException ; 323 324 338 boolean await(long time, TimeUnit unit) throws InterruptedException ; 339 340 413 boolean awaitUntil(Date deadline) throws InterruptedException ; 414 415 422 void signal(); 423 424 431 void signalAll(); 432 433 } 434 435 436 437 438 439 440 441 | Popular Tags |