@InterfaceAudience.Private public class ResultBoundedCompletionService<V> extends Object
Constructor and Description |
---|
ResultBoundedCompletionService(RpcRetryingCallerFactory retryingCallerFactory,
Executor executor,
int maxTasks) |
Modifier and Type | Method and Description |
---|---|
void |
cancelAll() |
org.apache.hadoop.hbase.client.ResultBoundedCompletionService.QueueingFuture<V> |
poll(long timeout,
TimeUnit unit) |
void |
submit(RetryingCallable<V> task,
int callTimeout,
int id) |
org.apache.hadoop.hbase.client.ResultBoundedCompletionService.QueueingFuture<V> |
take() |
public ResultBoundedCompletionService(RpcRetryingCallerFactory retryingCallerFactory, Executor executor, int maxTasks)
public void submit(RetryingCallable<V> task, int callTimeout, int id)
public org.apache.hadoop.hbase.client.ResultBoundedCompletionService.QueueingFuture<V> take() throws InterruptedException
InterruptedException
public org.apache.hadoop.hbase.client.ResultBoundedCompletionService.QueueingFuture<V> poll(long timeout, TimeUnit unit) throws InterruptedException
InterruptedException
public void cancelAll()
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.