| Package | Description |
|---|---|
| com.android.volley | |
| com.android.volley.toolbox |
| Modifier and Type | Method and Description |
|---|---|
Cache |
RequestQueue.getCache()
Gets the
Cache instance being used. |
| Constructor and Description |
|---|
CacheDispatcher(BlockingQueue<Request<?>> cacheQueue,
BlockingQueue<Request<?>> networkQueue,
Cache cache,
ResponseDelivery delivery)
Creates a new cache triage dispatcher thread.
|
NetworkDispatcher(BlockingQueue<Request<?>> queue,
Network network,
Cache cache,
ResponseDelivery delivery)
Creates a new network dispatcher thread.
|
RequestQueue(Cache cache,
Network network)
Creates the worker pool.
|
RequestQueue(Cache cache,
Network network,
int threadPoolSize)
Creates the worker pool.
|
RequestQueue(Cache cache,
Network network,
int threadPoolSize,
ResponseDelivery delivery)
Creates the worker pool.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DiskBasedCache
Cache implementation that caches files directly onto the hard disk in the specified
directory.
|
class |
NoCache
A cache that doesn't.
|
| Constructor and Description |
|---|
ClearCacheRequest(Cache cache,
Runnable callback)
Creates a synthetic request for clearing the cache.
|
Copyright © 2015. All rights reserved.