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:
13
classpath/java/util/concurrent/CompletionService.java
Normal file
13
classpath/java/util/concurrent/CompletionService.java
Normal file
@ -0,0 +1,13 @@
|
||||
package java.util.concurrent;
|
||||
|
||||
public interface CompletionService<T> {
|
||||
public Future<T> submit(Callable<T> task);
|
||||
|
||||
public Future<T> submit(Runnable task, T result);
|
||||
|
||||
public Future<T> take() throws InterruptedException;
|
||||
|
||||
public Future<T> poll();
|
||||
|
||||
public Future<T> poll(long timeout, TimeUnit unit) throws InterruptedException;
|
||||
}
|
Reference in New Issue
Block a user