14 lines
316 B
Java
14 lines
316 B
Java
package com.tridium.util.backport.concurrent;
|
|
|
|
public interface CompletionService {
|
|
Future poll();
|
|
|
|
Future poll(long j, TimeUnit timeUnit) throws InterruptedException;
|
|
|
|
Future submit(Callable callable);
|
|
|
|
Future submit(Runnable runnable, Object obj);
|
|
|
|
Future take() throws InterruptedException;
|
|
}
|