Packages

class Config[K, V, F <: PureFunction[K, V, Return.Map[V]], SF] extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Config
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. var acceleration: JavaFunction[LevelZeroMeter, Accelerator]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. var comparator: IO[Comparator[ByteSlice], Comparator[K]]
  8. var deleteSegmentsEventually: Boolean
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. implicit def fileSweeperEC: ExecutionContext
  12. var fileSweeperExecutorService: ExecutorService
  13. var fileSweeperPollInterval: Duration
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. def getAcceleration(): JavaFunction[LevelZeroMeter, Accelerator]
    Annotations
    @root()
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def getComparator(): IO[Comparator[ByteSlice], Comparator[K]]
    Annotations
    @root()
  18. def getFileSweeperExecutorService(): ExecutorService
    Annotations
    @root()
  19. def getFileSweeperPollInterval(): Duration
    Annotations
    @root()
  20. def getMapSize(): Int
    Annotations
    @root()
  21. def getMaxCachedKeyValuesPerSegment(): Int
    Annotations
    @root()
  22. def getMaxOpenSegments(): Int
    Annotations
    @root()
  23. def getMemoryCacheSize(): Int
    Annotations
    @root()
  24. def getMightContainFalsePositiveRate(): Double
    Annotations
    @root()
  25. def getSegmentSize(): Int
    Annotations
    @root()
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def init(): IO[Throwable, MapIO[K, V, F]]
  28. def isDeleteSegmentsEventually(): Boolean
    Annotations
    @root()
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. var mapSize: Int
  31. var maxCachedKeyValuesPerSegment: Int
  32. var maxOpenSegments: Int
  33. var memoryCacheSize: Int
  34. var mightContainFalsePositiveRate: Double
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. implicit def scalaKeyOrder: KeyOrder[Slice[Byte]]
  39. var segmentSize: Int
  40. def setAcceleration(arg0: JavaFunction[LevelZeroMeter, Accelerator]): Unit
    Annotations
    @root()
  41. def setComparator(arg0: IO[Comparator[ByteSlice], Comparator[K]]): Unit
    Annotations
    @root()
  42. def setDeleteSegmentsEventually(arg0: Boolean): Unit
    Annotations
    @root()
  43. def setFileSweeperExecutorService(arg0: ExecutorService): Unit
    Annotations
    @root()
  44. def setFileSweeperPollInterval(arg0: Duration): Unit
    Annotations
    @root()
  45. def setMapSize(arg0: Int): Unit
    Annotations
    @root()
  46. def setMaxCachedKeyValuesPerSegment(arg0: Int): Unit
    Annotations
    @root()
  47. def setMaxOpenSegments(arg0: Int): Unit
    Annotations
    @root()
  48. def setMemoryCacheSize(arg0: Int): Unit
    Annotations
    @root()
  49. def setMightContainFalsePositiveRate(arg0: Double): Unit
    Annotations
    @root()
  50. def setSegmentSize(arg0: Int): Unit
    Annotations
    @root()
  51. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  52. def toString(): String
    Definition Classes
    AnyRef → Any
  53. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  54. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  55. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped