binny.fs
package binny.fs
Type members
Classlikes
final class FsAttributeStore[F[_]](cfg: FsAttrConfig)(implicit evidence$1: Async[F]) extends BinaryAttributeStore[F]
- Companion:
- object
final class FsBinaryStore[F[_]](val config: FsStoreConfig, logger: Logger[F], attrStore: BinaryAttributeStore[F])(implicit evidence$1: Async[F]) extends BinaryStore[F]
- Companion:
- object
class FsChunkedBinaryStore[F[_]](cfg: FsChunkedStoreConfig, logger: Logger[F], attrStore: BinaryAttributeStore[F])(implicit evidence$1: Async[F]) extends ChunkedBinaryStore[F]
Stores binaries in chunks in the filesystem. When reading all available chunks are concatenated.
Stores binaries in chunks in the filesystem. When reading all available chunks are concatenated.
- Companion:
- object
case class FsChunkedStoreConfig(baseDir: Path, detect: ContentTypeDetect, overwriteMode: OverwriteMode, mapping: DirectoryMapping, chunkSize: Int, readChunkSize: Int)
- Value parameters:
- baseDir
the base directory, everything is stored below
- chunkSize
the size of each chunk file
- detect
detect the content type of a binary when storing
- mapping
the mapping from a BinaryId to a directory containing all the chunk files
- overwriteMode
what to do when a file already exists
- readChunkSize
used when reading chunk files, this may be set at maximum to
chunkSize
, but can be set smaller to use less memory when reading files
- Companion:
- object
final case class FsStoreConfig(baseDir: Path, detect: ContentTypeDetect, overwriteMode: OverwriteMode, mapping: PathMapping, chunkSize: Int)
- Companion:
- object