class Config[A, F <: OnKey[A, Void, Return.Set[Void]], SF] extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Config
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Config(dir: Path, maxOpenSegments: Int = 1000, memoryCacheSize: Int = 100.mb, mapSize: Int = 4.mb, mmapMaps: Boolean = true, recoveryMode: RecoveryMode = RecoveryMode.ReportFailure, mmapAppendix: Boolean = true, mmapSegments: MMAP = MMAP.WriteAndRead, segmentSize: Int = 2.mb, appendixFlushCheckpointSize: Int = 2.mb, otherDirs: Seq[Dir] = Seq.empty, memorySweeperPollInterval: FiniteDuration = 10.seconds, fileSweeperPollInterval: FiniteDuration = 10.seconds, mightContainFalsePositiveRate: Double = 0.01, blockSize: Int = 4098, compressDuplicateValues: Boolean = true, deleteSegmentsEventually: Boolean = true, acceleration: JavaFunction[LevelZeroMeter, Accelerator] = Accelerator.noBrakes() _).asJava, comparator: IO[Comparator[ByteSlice], Comparator[A]] = ..., fileSweeperExecutorService: ExecutorService = SwayDB.defaultExecutorService, serializer: Serializer[A], functionClassTag: ClassTag[SF])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- var acceleration: JavaFunction[LevelZeroMeter, Accelerator]
- var appendixFlushCheckpointSize: Int
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- var blockSize: Int
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- var comparator: IO[Comparator[ByteSlice], Comparator[A]]
- var compressDuplicateValues: Boolean
- var deleteSegmentsEventually: Boolean
- var dir: Path
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit def fileSweeperEC: ExecutionContext
- var fileSweeperExecutorService: ExecutorService
- var fileSweeperPollInterval: FiniteDuration
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def getAcceleration(): JavaFunction[LevelZeroMeter, Accelerator]
- def getAppendixFlushCheckpointSize(): Int
- def getBlockSize(): Int
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getComparator(): IO[Comparator[ByteSlice], Comparator[A]]
- def getDir(): Path
- def getFileSweeperExecutorService(): ExecutorService
- def getFileSweeperPollInterval(): FiniteDuration
- def getMapSize(): Int
- def getMaxOpenSegments(): Int
- def getMemoryCacheSize(): Int
- def getMemorySweeperPollInterval(): FiniteDuration
- def getMightContainFalsePositiveRate(): Double
- def getMmapSegments(): MMAP
- def getOtherDirs(): Seq[Dir]
- def getRecoveryMode(): RecoveryMode
- def getSegmentSize(): Int
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def init(): IO[Throwable, SetIO[A, F]]
- def isCompressDuplicateValues(): Boolean
- def isDeleteSegmentsEventually(): Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isMmapAppendix(): Boolean
- def isMmapMaps(): Boolean
- var mapSize: Int
- var maxOpenSegments: Int
- var memoryCacheSize: Int
- var memorySweeperPollInterval: FiniteDuration
- var mightContainFalsePositiveRate: Double
- var mmapAppendix: Boolean
- var mmapMaps: Boolean
- var mmapSegments: MMAP
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- var otherDirs: Seq[Dir]
- var recoveryMode: RecoveryMode
- implicit def scalaKeyOrder: KeyOrder[Slice[Byte]]
- var segmentSize: Int
- def setAcceleration(arg0: JavaFunction[LevelZeroMeter, Accelerator]): Unit
- def setAppendixFlushCheckpointSize(arg0: Int): Unit
- def setBlockSize(arg0: Int): Unit
- def setComparator(arg0: IO[Comparator[ByteSlice], Comparator[A]]): Unit
- def setCompressDuplicateValues(arg0: Boolean): Unit
- def setDeleteSegmentsEventually(arg0: Boolean): Unit
- def setDir(arg0: Path): Unit
- def setFileSweeperExecutorService(arg0: ExecutorService): Unit
- def setFileSweeperPollInterval(arg0: FiniteDuration): Unit
- def setMapSize(arg0: Int): Unit
- def setMaxOpenSegments(arg0: Int): Unit
- def setMemoryCacheSize(arg0: Int): Unit
- def setMemorySweeperPollInterval(arg0: FiniteDuration): Unit
- def setMightContainFalsePositiveRate(arg0: Double): Unit
- def setMmapAppendix(arg0: Boolean): Unit
- def setMmapMaps(arg0: Boolean): Unit
- def setMmapSegments(arg0: MMAP): Unit
- def setOtherDirs(arg0: Seq[Dir]): Unit
- def setRecoveryMode(arg0: RecoveryMode): Unit
- def setSegmentSize(arg0: Int): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()