FsChunkedStoreConfig

binny.fs.FsChunkedStoreConfig
See theFsChunkedStoreConfig companion object
case class FsChunkedStoreConfig(baseDir: Path, detect: ContentTypeDetect, overwriteMode: OverwriteMode, mapping: DirectoryMapping, chunkSize: Int, readChunkSize: Int)

Attributes

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
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def targetDir(id: BinaryId): Path
def withContentTypeDetect(dt: ContentTypeDetect): FsChunkedStoreConfig

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product