# | Line 587 | Line 587 | public class Phaser { | |
---|---|---|
587 | * the given phase value or this barrier is terminated. | |
588 | * | |
589 | * @param phase the phase on entry to this method | |
590 | + | * @param timeout how long to wait before giving up, in units of |
591 | + | * {@code unit} |
592 | + | * @param unit a {@code TimeUnit} determining how to interpret the |
593 | + | * {@code timeout} parameter |
594 | * @return the phase on exit from this method | |
595 | * @throws InterruptedException if thread interrupted while waiting | |
596 | * @throws TimeoutException if timed out while waiting |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |