public class ResponseWorkerExecutor extends Object
| Modifier and Type | Method and Description |
|---|---|
static <P,R> Future<?> |
build(ResponseWorker<P,R> responseWorker,
List<P> params)
This method invokes the building process, by adding the passed
FeedBuilder to the internal queue and will be executed somewhen
in the future |
static void |
setExecutor(ExecutorService executor)
Set the
ExecutorService. |
public static <P,R> Future<?> build(ResponseWorker<P,R> responseWorker, List<P> params)
FeedBuilder to the internal queue and will be executed somewhen
in the futureresponseWorker - param - public static void setExecutor(ExecutorService executor)
ExecutorService. The default executor will run min 2
Threads up to 3 Threadsexecutor - Copyright © 2015 Hannes Dorfmann. All rights reserved.