Lines Matching defs:network
37 * resolving from either cache or network on a worker thread, and then delivering
75 /** The queue of requests that are actually going out to the network. */
79 /** Number of network request dispatcher threads to start. */
91 /** The network dispatchers. */
104 * @param network A Network interface for performing HTTP requests
105 * @param threadPoolSize Number of network dispatcher threads to create
108 public RequestQueue(Cache cache, Network network, int threadPoolSize,
111 mNetwork = network;
120 * @param network A Network interface for performing HTTP requests
121 * @param threadPoolSize Number of network dispatcher threads to create
123 public RequestQueue(Cache cache, Network network, int threadPoolSize) {
124 this(cache, network, threadPoolSize,
132 * @param network A Network interface for performing HTTP requests
134 public RequestQueue(Cache cache, Network network) {
135 this(cache, network, DEFAULT_NETWORK_THREAD_POOL_SIZE);
147 // Create network dispatchers (and corresponding threads) up to the pool size.
157 * Stops the cache and network dispatchers.
238 // If the request is uncacheable, skip the cache queue and go straight to the network.