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(dir: Path, maxOpenSegments: Int = 1000, memoryCacheSize: Int = 100.mb, blockSize: Int = 4098, mapSize: Int = 4.mb, mmapMaps: Boolean = true, recoveryMode: RecoveryMode = RecoveryMode.ReportFailure, mmapAppendix: Boolean = true, mmapSegments: MMAP = MMAP.WriteAndRead, minSegmentSize: Int = 2.mb, appendixFlushCheckpointSize: Int = 2.mb, otherDirs: Seq[Dir] = Seq.empty, memorySweeperPollInterval: Duration = 10.seconds.toJava, fileSweeperPollInterval: Duration = 10.seconds.toJava, mightContainFalsePositiveRate: Double = 0.01, compressDuplicateValues: Boolean = true, deleteSegmentsEventually: Boolean = true, cacheKeyValueIds: 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.sweeperExecutorService, 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. var appendixFlushCheckpointSize: Int
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. var blockSize: Int
  8. var cacheKeyValueIds: Boolean
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. var comparator: IO[Comparator[ByteSlice], Comparator[K]]
  11. var compressDuplicateValues: Boolean
  12. var deleteSegmentsEventually: Boolean
  13. var dir: Path
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. implicit def fileSweeperEC: ExecutionContext
  17. var fileSweeperExecutorService: ExecutorService
  18. var fileSweeperPollInterval: Duration
  19. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  20. def getAcceleration(): JavaFunction[LevelZeroMeter, Accelerator]
    Annotations
    @root()
  21. def getAppendixFlushCheckpointSize(): Int
    Annotations
    @root()
  22. def getBlockSize(): Int
    Annotations
    @root()
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def getComparator(): IO[Comparator[ByteSlice], Comparator[K]]
    Annotations
    @root()
  25. def getDir(): Path
    Annotations
    @root()
  26. def getFileSweeperExecutorService(): ExecutorService
    Annotations
    @root()
  27. def getFileSweeperPollInterval(): Duration
    Annotations
    @root()
  28. def getMapSize(): Int
    Annotations
    @root()
  29. def getMaxOpenSegments(): Int
    Annotations
    @root()
  30. def getMemoryCacheSize(): Int
    Annotations
    @root()
  31. def getMemorySweeperPollInterval(): Duration
    Annotations
    @root()
  32. def getMightContainFalsePositiveRate(): Double
    Annotations
    @root()
  33. def getMinSegmentSize(): Int
    Annotations
    @root()
  34. def getMmapSegments(): MMAP
    Annotations
    @root()
  35. def getOtherDirs(): Seq[Dir]
    Annotations
    @root()
  36. def getRecoveryMode(): RecoveryMode
    Annotations
    @root()
  37. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  38. def init(): Map[K, V, F]
  39. def isCacheKeyValueIds(): Boolean
    Annotations
    @root()
  40. def isCompressDuplicateValues(): Boolean
    Annotations
    @root()
  41. def isDeleteSegmentsEventually(): Boolean
    Annotations
    @root()
  42. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  43. def isMmapAppendix(): Boolean
    Annotations
    @root()
  44. def isMmapMaps(): Boolean
    Annotations
    @root()
  45. var mapSize: Int
  46. var maxOpenSegments: Int
  47. var memoryCacheSize: Int
  48. var memorySweeperPollInterval: Duration
  49. var mightContainFalsePositiveRate: Double
  50. var minSegmentSize: Int
  51. var mmapAppendix: Boolean
  52. var mmapMaps: Boolean
  53. var mmapSegments: MMAP
  54. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  55. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  56. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  57. var otherDirs: Seq[Dir]
  58. var recoveryMode: RecoveryMode
  59. implicit def scalaKeyOrder: KeyOrder[Slice[Byte]]
  60. def setAcceleration(arg0: JavaFunction[LevelZeroMeter, Accelerator]): Unit
    Annotations
    @root()
  61. def setAppendixFlushCheckpointSize(arg0: Int): Unit
    Annotations
    @root()
  62. def setBlockSize(arg0: Int): Unit
    Annotations
    @root()
  63. def setCacheKeyValueIds(arg0: Boolean): Unit
    Annotations
    @root()
  64. def setComparator(arg0: IO[Comparator[ByteSlice], Comparator[K]]): Unit
    Annotations
    @root()
  65. def setCompressDuplicateValues(arg0: Boolean): Unit
    Annotations
    @root()
  66. def setDeleteSegmentsEventually(arg0: Boolean): Unit
    Annotations
    @root()
  67. def setDir(arg0: Path): Unit
    Annotations
    @root()
  68. def setFileSweeperExecutorService(arg0: ExecutorService): Unit
    Annotations
    @root()
  69. def setFileSweeperPollInterval(arg0: Duration): Unit
    Annotations
    @root()
  70. def setMapSize(arg0: Int): Unit
    Annotations
    @root()
  71. def setMaxOpenSegments(arg0: Int): Unit
    Annotations
    @root()
  72. def setMemoryCacheSize(arg0: Int): Unit
    Annotations
    @root()
  73. def setMemorySweeperPollInterval(arg0: Duration): Unit
    Annotations
    @root()
  74. def setMightContainFalsePositiveRate(arg0: Double): Unit
    Annotations
    @root()
  75. def setMinSegmentSize(arg0: Int): Unit
    Annotations
    @root()
  76. def setMmapAppendix(arg0: Boolean): Unit
    Annotations
    @root()
  77. def setMmapMaps(arg0: Boolean): Unit
    Annotations
    @root()
  78. def setMmapSegments(arg0: MMAP): Unit
    Annotations
    @root()
  79. def setOtherDirs(arg0: Seq[Dir]): Unit
    Annotations
    @root()
  80. def setRecoveryMode(arg0: RecoveryMode): Unit
    Annotations
    @root()
  81. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  82. def toString(): String
    Definition Classes
    AnyRef → Any
  83. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  84. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  85. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped