| Interface | Description |
|---|---|
| CacheRetriever |
A
CacheRetriever is a Runnable that is executed from the
CacheRetrieverExecutor to load data from cache |
| CacheRetriever.CacheRetrieverListener |
A small listner that gets notified, when the
|
| HttpExecutor |
A
HttpExecutor is responsible to manage HttpRequests to
realize the following behavior:
Executes the HttpRequests according there
HttpRequest.getPriority() and
HttpRequest.getCreationTimestamp() ordering
Ensures that the same (waiting) HttpRequest is not executed
twice, but the other waiting HttpRequest gets the result of the other
finished one. |
| HttpTask<T> |
HttpTask is a Runnable that is executed by the
HttpExecutor to retrieve or transmit data over the HTTP protocol to
the web server / web service |
| HttpTask.HttpTaskCanceledListener |
A listner that listens if a
HttpRequest has been canceled, so the
HttpTask must be canceled too. |
| HttpTask.HttpTaskFinishedListener |
This listener observes an
HttpClientTask and get informed, when an
HttpClientTask has finished (successful or notHttpClientTask Hannes Dorfmann |
| HttpTask.HttpTaskPriorityChangedListener |
A listener that listens for priority changes
|
| HttpTask.HttpTaskStartedListner |
This listener gets informed when an
HttpTask has been started |
| Class | Description |
|---|---|
| CacheRetrieverExecutor |
This component is responsible to retrieve Data from the cache.
|
| HttpClientTask<T> |
A
HttpTask that uses apaches HttpClient for retrieving /
transmitting data from / to the web server
It supports:
Reading e-Tag< and write then to cache
charset encoding of the Content-Type Header field
|
| PausableThreadPoolExecutor |
This is a
ThreadPoolExecutor that can pause and resume. |
| PriorityThreadPoolHttpExecutor |
This
HttpExecutor executes the HttpTask, that contain a
HttpRequest, with an ThreadPoolExecutor and uses a
PriorityBlockingQueue as queue for tasks. |
Copyright © 2015 Hannes Dorfmann. All rights reserved.