< prev index next >

src/java.base/share/classes/java/util/concurrent/BlockingQueue.java

Print this page

        

*** 51,61 **** * {@code null} or {@code false}, depending on the operation), the third * blocks the current thread indefinitely until the operation can succeed, * and the fourth blocks for only a given maximum time limit before giving * up. These methods are summarized in the following table: * ! * <table BORDER CELLPADDING=3 CELLSPACING=1> * <caption>Summary of BlockingQueue methods</caption> * <tr> * <td></td> * <td style="text-align:center"><em>Throws exception</em></td> * <td style="text-align:center"><em>Special value</em></td> --- 51,61 ---- * {@code null} or {@code false}, depending on the operation), the third * blocks the current thread indefinitely until the operation can succeed, * and the fourth blocks for only a given maximum time limit before giving * up. These methods are summarized in the following table: * ! * <table class="plain"> * <caption>Summary of BlockingQueue methods</caption> * <tr> * <td></td> * <td style="text-align:center"><em>Throws exception</em></td> * <td style="text-align:center"><em>Special value</em></td>
< prev index next >