Uses of Class
com.github.mizosoft.methanol.HttpCache.Builder
Packages that use HttpCache.Builder
-
Uses of HttpCache.Builder in com.github.mizosoft.methanol
Methods in com.github.mizosoft.methanol that return HttpCache.BuilderModifier and TypeMethodDescriptionHttpCache.Builder.cacheOn(StorageExtension storageExtension) Specifies that HTTP responses are to be persisted on the given storage extension.HttpCache.Builder.cacheOnDisk(Path directory, long maxSize) Specifies that HTTP responses are to be persisted on disk, under the given directory, with the given size bound.HttpCache.Builder.cacheOnMemory(long maxSize) Specifies that HTTP responses are to be cached on memory with the given size bound.Sets the executor to be used by the cache.HttpCache.Builder.listener(HttpCache.Listener listener) Sets the cache'sListener.static HttpCache.BuilderHttpCache.newBuilder()Returns a newHttpCache.Builder.HttpCache.Builder.statsRecorder(HttpCache.StatsRecorder statsRecorder) Sets the cache'sStatsRecorder.HttpCache.Builder.synchronizeWrites(boolean synchronizeWrites) Sets whether response completion waits for corresponding cache writes to complete.