package util
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- class BasicCache[I, O] extends Cache[I, O]
Simple key-value cache.
- trait BasicCacheImplicits extends AnyRef
- trait Cache[I, O] extends AnyRef
A simple cache with keys of type
I
and values of typeO
- trait CacheImplicits extends BasicCacheImplicits with BasicJsonProtocol
- sealed trait CacheResult[K] extends AnyRef
The result of a cache query
- abstract class CacheStore extends Input with Output
A
CacheStore
is used by the caching infrastructure to persist cached information. - abstract class CacheStoreFactory extends AnyRef
Factory that can make new stores.
- class DirectoryStoreFactory[J] extends CacheStoreFactory
A factory that creates new stores persisted in
base
. - class FileBasedStore[J] extends CacheStore
A
CacheStore
that persists information infile
. - sealed trait FileInfo extends AnyRef
- class FileInput extends Input
- class FileOutput extends Output
- final case class FilesInfo[F <: FileInfo] extends Product with Serializable
- sealed trait HashFileInfo extends FileInfo
- sealed trait HashModifiedFileInfo extends HashFileInfo with ModifiedFileInfo
- case class Hit[O](value: O) extends CacheResult[O] with Product with Serializable
A successful hit on the cache
- trait Input extends Closeable
- case class Miss[O](update: (O) => Unit) extends CacheResult[O] with Product with Serializable
A cache miss.
A cache miss.
update
associates the missing key withO
in the cache. - sealed trait ModifiedFileInfo extends FileInfo
- trait Output extends Closeable
- sealed trait PlainFileInfo extends FileInfo
- class PlainInput[J] extends Input
- class PlainOutput[J] extends Output
- trait SingletonCache[A] extends AnyRef
A cache that stores a single value.
- class StreamBasedStore[J] extends CacheStore
A store that reads from
inputStream
and writes tooutputStream
.
Value Members
- object Cache
- object CacheImplicits extends CacheImplicits
- object CacheStore
- object CacheStoreFactory
- object FileInfo
- object FilesInfo extends Serializable
- object HashFileInfo
- object HashModifiedFileInfo
- object ModifiedFileInfo
- object PlainFileInfo
- object SingletonCache
- object StampedFormat extends BasicJsonProtocol