public class AlwaysGetCacheDispatcher
extends CacheDispatcher
| Constructor and Description |
|---|
AlwaysGetCacheDispatcher(java.util.concurrent.BlockingQueue<
Creates a new cache triage dispatcher thread.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
public AlwaysGetCacheDispatcher(java.util.concurrent.BlockingQueue<> cacheQueue, java.util.concurrent.BlockingQueue< > networkQueue, Cache cache, ResponseDelivery delivery)
#start()
in order to begin processing.cacheQueue - Queue of incoming requests for triagenetworkQueue - Queue to post requests that require network tocache - Cache interface to use for resolutiondelivery - Delivery interface to use for posting responses