public static class AsyncRequestQueue.Builder
extends java.lang.Object
AsyncRequestQueue from values configured by
the setters.| Constructor and Description |
|---|
Builder(AsyncNetwork asyncNetwork) |
| Modifier and Type | Method and Description |
|---|---|
AsyncRequestQueue |
build() |
AsyncRequestQueue.Builder |
setAsyncCache(AsyncCache asyncCache)
Sets the AsyncCache to be used by the AsyncRequestQueue.
|
AsyncRequestQueue.Builder |
setCache(Cache cache)
Sets the Cache to be used by the AsyncRequestQueue.
|
AsyncRequestQueue.Builder |
setExecutorFactory(AsyncRequestQueue.ExecutorFactory executorFactory)
Sets the executor factory to be used by the AsyncRequestQueue.
|
AsyncRequestQueue.Builder |
setResponseDelivery(ResponseDelivery responseDelivery)
Sets the response deliver to be used by the AsyncRequestQueue.
|
public Builder(AsyncNetwork asyncNetwork)
public AsyncRequestQueue.Builder setExecutorFactory(AsyncRequestQueue.ExecutorFactory executorFactory)
public AsyncRequestQueue.Builder setResponseDelivery(ResponseDelivery responseDelivery)
ExecutorDelivery with the application's main
thread.public AsyncRequestQueue.Builder setAsyncCache(AsyncCache asyncCache)
public AsyncRequestQueue.Builder setCache(Cache cache)
public AsyncRequestQueue build()