Companion

object Companion

Functions

Link copied to clipboard
fun <T> from(parentDirectory: File, filename: String, valueSerializer: CacheSerializer<T>): SnapshotFileCacheBuilder<T>

This is a convenience function to create a SnapshotFileCacheBuilder that uses an implementation of CacheSerializer to read and write to the cache File.