mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
More interfaces that were missed previously.
This commit is contained in:
20
classpath/java/util/concurrent/BlockingQueue.java
Normal file
20
classpath/java/util/concurrent/BlockingQueue.java
Normal file
@ -0,0 +1,20 @@
|
||||
package java.util.concurrent;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Queue;
|
||||
|
||||
public interface BlockingQueue<T> extends Queue<T> {
|
||||
public void put(T e) throws InterruptedException;
|
||||
|
||||
public boolean offer(T e, long timeout, TimeUnit unit) throws InterruptedException;
|
||||
|
||||
public T take() throws InterruptedException;
|
||||
|
||||
public T poll(long timeout, TimeUnit unit) throws InterruptedException;
|
||||
|
||||
public int remainingCapacity();
|
||||
|
||||
public int drainTo(Collection<? super T> c);
|
||||
|
||||
public int drainTo(Collection<? super T> c, int maxElements);
|
||||
}
|
Reference in New Issue
Block a user