Module methanol
Package com.github.mizosoft.methanol.internal.cache
-
Interface Summary Interface Description CacheReadingPublisher.Listener CacheWritingPublisher.Listener DiskStore.Hasher A function that computes an 80-bit hash from a string key.InternalStorageExtension LocalCache A response cache that provides APIs for retrieval, metadata updates, insertion and removal.LocalCache.Factory Store A repository of binary data entries each identified by a string key.Store.Editor Writes an entry's metadata block and data stream.Store.EntryReader A reader for an entry's data stream.Store.EntryWriter A writer for an entry's data stream.Store.Viewer Reads an entry's metadata block and data stream.TestableStore -
Class Summary Class Description CacheInterceptor AnMethanol.Interceptorthat serves incoming requests from cache, network, both (in case of successful/failed revalidation), or none (in case of unsatisfiable requests).CacheReadingPublisher Publisher for the response body as read from a cached entry'sStore.Viewer.CacheResponse ARawResponseretrieved from cache.CacheResponseMetadata Metadata for each response entry in the cache.CacheStrategy A strategy for determining whether a stored response is fresh enough for the cache to serve without contacting the origin, based on the caching rules imposed by the server and client.CacheWritingPublisher APublisherthat writes the body stream into cache while simultaneously forwarding it to downstream.DiskStore A persistentStoreimplementation that saves entries on disk under a specified directory.DiskStore.Builder DiskStore.Hash An immutable 80-bit hash code.FileIO Read/Write utilities that make sure exactly the requested bytes are read/written.HttpDates Helpers for parsing/formatting HTTP dates.MemoryStore Storeimplementation that stores entries in memory.NetworkResponse ARawResponsethat came from the network and may be written to cache.RawResponse A response with a "raw" body that is yet to be handled.RedirectingInterceptor AnMethanol.Interceptorthat follows redirects. -
Exception Summary Exception Description StoreCorruptionException