|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjava.lang.Thread
com.android.volley.CacheDispatcher
public class CacheDispatcher
Provides a thread for performing cache triage on a queue of requests.
Requests added to the specified cache queue are resolved from cache.
Any deliverable response is posted back to the caller via a
ResponseDelivery
. Cache misses and responses that require
refresh are enqueued on the specified network queue for processing
by a NetworkDispatcher
.
入れ子のクラスの概要 |
---|
クラス java.lang.Thread から継承された入れ子のクラス/インタフェース |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
フィールドの概要 |
---|
クラス java.lang.Thread から継承されたフィールド |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
コンストラクタの概要 | |
---|---|
CacheDispatcher(java.util.concurrent.BlockingQueue<Request> cacheQueue,
java.util.concurrent.BlockingQueue<Request> networkQueue,
Cache cache,
ResponseDelivery delivery)
Creates a new cache triage dispatcher thread. |
メソッドの概要 | |
---|---|
void |
quit()
Forces this dispatcher to quit immediately. |
void |
run()
|
クラス java.lang.Thread から継承されたメソッド |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
---|
public CacheDispatcher(java.util.concurrent.BlockingQueue<Request> cacheQueue, java.util.concurrent.BlockingQueue<Request> networkQueue, Cache cache, ResponseDelivery delivery)
Thread.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メソッドの詳細 |
---|
public void quit()
public void run()
java.lang.Runnable
内の run
java.lang.Thread
内の run
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |