State for the entire download of a single product.
ReliableResourceCallable is responsible for reading product data from its @InputStream and then writing that data to a @FileBackedOutputStream (that will be concurrently read by a client), and optionally caching the product to the file system.
The manager for downloading a resource, including retrying the download if problems are encountered, and optionally caching the resource as it is streamed to the client.
The @InputStream used by the client to read from the @FileBackedOutputStream being written to as the resource is being downloaded.
Provides the status of the product caching thread @ReliableResourceCallable, and the total number of bytes read from the product's @InputStream.
Monitors the @ReliableResourceCallable, detecting if no bytes have been read from the resource's @InputStream for the monitor's period.
The current status of a single product download.
This work is licensed under a Creative Commons Attribution 4.0 International License.