sbt.util

package sbt.util

Type members

Classlikes

class BasicCache[I, O] extends Cache[I, O]

Simple key-value cache.

Simple key-value cache.

trait Cache[I, O]

A simple cache with keys of type I and values of type O

A simple cache with keys of type I and values of type O

Companion:
object
object Cache
Companion:
class
Companion:
class
trait CacheImplicits extends BasicCacheImplicits with BasicJsonProtocol
Companion:
object
sealed trait CacheResult[K]

The result of a cache query

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.

A CacheStore is used by the caching infrastructure to persist cached information.

Companion:
object
object CacheStore
Companion:
class
abstract class CacheStoreFactory

Factory that can make new stores.

Factory that can make new stores.

Companion:
object
Companion:
class
class DirectoryStoreFactory[J](base: File) extends CacheStoreFactory

A factory that creates new stores persisted in base.

A factory that creates new stores persisted in base.

class FileBasedStore[J](file: File) extends CacheStore

A CacheStore that persists information in file.

A CacheStore that persists information in file.

sealed trait FileInfo
Companion:
object
object FileInfo
Companion:
class
class FileInput(file: File) extends Input
class FileOutput(file: File) extends Output
final case class FilesInfo[F <: FileInfo]
Companion:
object
object FilesInfo
Companion:
class
sealed trait HashFileInfo extends FileInfo
Companion:
object
Companion:
class
Companion:
object
Companion:
class
case class Hit[O](value: O) extends CacheResult[O]

A successful hit on the cache

A successful hit on the cache

trait Input extends Closeable
case class Miss[O](update: O => Unit) extends CacheResult[O]

A cache miss. update associates the missing key with O in the cache.

A cache miss. update associates the missing key with O in the cache.

sealed trait ModifiedFileInfo extends FileInfo
Companion:
object
Companion:
class
trait Output extends Closeable
sealed trait PlainFileInfo extends FileInfo
Companion:
object
Companion:
class
class PlainInput[J](input: InputStream, converter: SupportConverter[J])(implicit evidence$1: IsoString[J]) extends Input
class PlainOutput[J](output: OutputStream, converter: SupportConverter[J])(implicit evidence$1: IsoString[J]) extends Output

A cache that stores a single value.

A cache that stores a single value.

Companion:
object
Companion:
class
object StampedFormat extends BasicJsonProtocol
class StreamBasedStore[J](inputStream: InputStream, outputStream: OutputStream, converter: SupportConverter[J])(implicit evidence$1: IsoString[J]) extends CacheStore

A store that reads from inputStream and writes to outputStream.

A store that reads from inputStream and writes to outputStream.