mirror of
https://github.com/corda/corda.git
synced 2025-01-10 06:52:44 +00:00
14 lines
398 B
Java
14 lines
398 B
Java
|
package java.util.concurrent;
|
||
|
|
||
|
import java.util.Deque;
|
||
|
|
||
|
public interface BlockingDeque<T> extends Deque<T>, BlockingQueue<T> {
|
||
|
public T takeFirst() throws InterruptedException;
|
||
|
|
||
|
public T takeLast() throws InterruptedException;
|
||
|
|
||
|
public T pollFirst(long timeout, TimeUnit unit) throws InterruptedException;
|
||
|
|
||
|
public T pollLast(long timeout, TimeUnit unit) throws InterruptedException;
|
||
|
}
|