class Config[K, V, F <: PureFunction[K, V, Return.Map[V]], SF] extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Config
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Config(mapSize: Int = 4.mb, segmentSize: Int = 2.mb, memoryCacheSize: Int = 500.mb, maxOpenSegments: Int = 100, maxCachedKeyValuesPerSegment: Int = 10, fileSweeperPollInterval: Duration = 10.seconds.toJava, mightContainFalsePositiveRate: Double = 0.01, deleteSegmentsEventually: Boolean = true, acceleration: JavaFunction[LevelZeroMeter, Accelerator] = Accelerator.noBrakes() _).asJava, comparator: IO[Comparator[ByteSlice], Comparator[K]] = IO.leftNeverException[Comparator[ByteSlice], Comparator[K]](swaydb.java.SwayDB.defaultComparator), fileSweeperExecutorService: ExecutorService = SwayDB.defaultExecutorService, keySerializer: Serializer[K], valueSerializer: Serializer[V], 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]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- var comparator: IO[Comparator[ByteSlice], Comparator[K]]
- var deleteSegmentsEventually: Boolean
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def fileSweeperEC: ExecutionContext
- var fileSweeperExecutorService: ExecutorService
- var fileSweeperPollInterval: Duration
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def getAcceleration(): JavaFunction[LevelZeroMeter, Accelerator]
- Annotations
- @root()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getComparator(): IO[Comparator[ByteSlice], Comparator[K]]
- Annotations
- @root()
- def getFileSweeperExecutorService(): ExecutorService
- Annotations
- @root()
- def getFileSweeperPollInterval(): Duration
- Annotations
- @root()
- def getMapSize(): Int
- Annotations
- @root()
- def getMaxCachedKeyValuesPerSegment(): Int
- Annotations
- @root()
- def getMaxOpenSegments(): Int
- Annotations
- @root()
- def getMemoryCacheSize(): Int
- Annotations
- @root()
- def getMightContainFalsePositiveRate(): Double
- Annotations
- @root()
- def getSegmentSize(): Int
- Annotations
- @root()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def init(): IO[Throwable, MapIO[K, V, F]]
- def isDeleteSegmentsEventually(): Boolean
- Annotations
- @root()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- var mapSize: Int
- var maxCachedKeyValuesPerSegment: Int
- var maxOpenSegments: Int
- var memoryCacheSize: Int
- var mightContainFalsePositiveRate: Double
- 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()
- implicit def scalaKeyOrder: KeyOrder[Slice[Byte]]
- var segmentSize: Int
- def setAcceleration(arg0: JavaFunction[LevelZeroMeter, Accelerator]): Unit
- Annotations
- @root()
- def setComparator(arg0: IO[Comparator[ByteSlice], Comparator[K]]): Unit
- Annotations
- @root()
- def setDeleteSegmentsEventually(arg0: Boolean): Unit
- Annotations
- @root()
- def setFileSweeperExecutorService(arg0: ExecutorService): Unit
- Annotations
- @root()
- def setFileSweeperPollInterval(arg0: Duration): Unit
- Annotations
- @root()
- def setMapSize(arg0: Int): Unit
- Annotations
- @root()
- def setMaxCachedKeyValuesPerSegment(arg0: Int): Unit
- Annotations
- @root()
- def setMaxOpenSegments(arg0: Int): Unit
- Annotations
- @root()
- def setMemoryCacheSize(arg0: Int): Unit
- Annotations
- @root()
- def setMightContainFalsePositiveRate(arg0: Double): Unit
- Annotations
- @root()
- def setSegmentSize(arg0: Int): Unit
- Annotations
- @root()
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()