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, mapSize: Int = 4.mb, mmapMaps: Boolean = true, recoveryMode: RecoveryMode = RecoveryMode.ReportFailure, mmapAppendix: Boolean = true, appendixFlushCheckpointSize: Int = 2.mb, otherDirs: Seq[Dir] = Seq.empty, cacheKeyValueIds: Boolean = true, threadStateCache: ThreadStateCache = ThreadStateCache.Limit(hashMapMaxSize = 100, maxProbe = 10), sortedKeyIndex: Enable = DefaultConfigs.sortedKeyIndex(), randomKeyIndex: Enable = DefaultConfigs.randomKeyIndex(), binarySearchIndex: FullIndex = DefaultConfigs.binarySearchIndex(), mightContainKeyIndex: Enable = DefaultConfigs.mightContainKeyIndex(), valuesConfig: ValuesConfig = DefaultConfigs.valuesConfig(), segmentConfig: SegmentConfig = DefaultConfigs.segmentConfig(), fileCache: Enable = DefaultConfigs.fileCache(), memoryCache: MemoryCache = DefaultConfigs.memoryCache(), levelZeroThrottle: JavaFunction[LevelZeroMeter, FiniteDuration] = DefaultConfigs.levelZeroThrottle _).asJava, levelOneThrottle: JavaFunction[LevelMeter, Throttle] = DefaultConfigs.levelOneThrottle _).asJava, levelTwoThrottle: JavaFunction[LevelMeter, Throttle] = DefaultConfigs.levelTwoThrottle _).asJava, levelThreeThrottle: JavaFunction[LevelMeter, Throttle] = DefaultConfigs.levelThreeThrottle _).asJava, levelFourThrottle: JavaFunction[LevelMeter, Throttle] = DefaultConfigs.levelFourThrottle _).asJava, levelFiveThrottle: JavaFunction[LevelMeter, Throttle] = DefaultConfigs.levelFiveThrottle _).asJava, levelSixThrottle: JavaFunction[LevelMeter, Throttle] = DefaultConfigs.levelSixThrottle _).asJava, acceleration: JavaFunction[LevelZeroMeter, Accelerator] = Accelerator.noBrakes() _).asJava, comparator: IO[Comparator[ByteSlice], Comparator[K]] = IO.leftNeverException[Comparator[ByteSlice], Comparator[K]](swaydb.java.SwayDB.defaultComparator), 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 binarySearchIndex: FullIndex
  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 dir: Path
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. var fileCache: Enable
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. def getAcceleration(): JavaFunction[LevelZeroMeter, Accelerator]
    Annotations
    @root()
  17. def getAppendixFlushCheckpointSize(): Int
    Annotations
    @root()
  18. def getBinarySearchIndex(): FullIndex
    Annotations
    @root()
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def getComparator(): IO[Comparator[ByteSlice], Comparator[K]]
    Annotations
    @root()
  21. def getDir(): Path
    Annotations
    @root()
  22. def getFileCache(): Enable
    Annotations
    @root()
  23. def getLevelFiveThrottle(): JavaFunction[LevelMeter, Throttle]
    Annotations
    @root()
  24. def getLevelFourThrottle(): JavaFunction[LevelMeter, Throttle]
    Annotations
    @root()
  25. def getLevelOneThrottle(): JavaFunction[LevelMeter, Throttle]
    Annotations
    @root()
  26. def getLevelSixThrottle(): JavaFunction[LevelMeter, Throttle]
    Annotations
    @root()
  27. def getLevelThreeThrottle(): JavaFunction[LevelMeter, Throttle]
    Annotations
    @root()
  28. def getLevelTwoThrottle(): JavaFunction[LevelMeter, Throttle]
    Annotations
    @root()
  29. def getLevelZeroThrottle(): JavaFunction[LevelZeroMeter, FiniteDuration]
    Annotations
    @root()
  30. def getMapSize(): Int
    Annotations
    @root()
  31. def getMemoryCache(): MemoryCache
    Annotations
    @root()
  32. def getMightContainKeyIndex(): Enable
    Annotations
    @root()
  33. def getOtherDirs(): Seq[Dir]
    Annotations
    @root()
  34. def getRandomKeyIndex(): Enable
    Annotations
    @root()
  35. def getRecoveryMode(): RecoveryMode
    Annotations
    @root()
  36. def getSegmentConfig(): SegmentConfig
    Annotations
    @root()
  37. def getSortedKeyIndex(): Enable
    Annotations
    @root()
  38. def getThreadStateCache(): ThreadStateCache
    Annotations
    @root()
  39. def getValuesConfig(): ValuesConfig
    Annotations
    @root()
  40. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  41. def init(): Map[K, V, F]
  42. def isCacheKeyValueIds(): Boolean
    Annotations
    @root()
  43. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  44. def isMmapAppendix(): Boolean
    Annotations
    @root()
  45. def isMmapMaps(): Boolean
    Annotations
    @root()
  46. var levelFiveThrottle: JavaFunction[LevelMeter, Throttle]
  47. var levelFourThrottle: JavaFunction[LevelMeter, Throttle]
  48. var levelOneThrottle: JavaFunction[LevelMeter, Throttle]
  49. var levelSixThrottle: JavaFunction[LevelMeter, Throttle]
  50. var levelThreeThrottle: JavaFunction[LevelMeter, Throttle]
  51. var levelTwoThrottle: JavaFunction[LevelMeter, Throttle]
  52. var levelZeroThrottle: JavaFunction[LevelZeroMeter, FiniteDuration]
  53. var mapSize: Int
  54. var memoryCache: MemoryCache
  55. var mightContainKeyIndex: Enable
  56. var mmapAppendix: Boolean
  57. var mmapMaps: Boolean
  58. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  59. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  60. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  61. var otherDirs: Seq[Dir]
  62. var randomKeyIndex: Enable
  63. var recoveryMode: RecoveryMode
  64. implicit def scalaKeyOrder: KeyOrder[Slice[Byte]]
  65. var segmentConfig: SegmentConfig
  66. def setAcceleration(arg0: JavaFunction[LevelZeroMeter, Accelerator]): Unit
    Annotations
    @root()
  67. def setAppendixFlushCheckpointSize(arg0: Int): Unit
    Annotations
    @root()
  68. def setBinarySearchIndex(arg0: FullIndex): Unit
    Annotations
    @root()
  69. def setCacheKeyValueIds(arg0: Boolean): Unit
    Annotations
    @root()
  70. def setComparator(arg0: IO[Comparator[ByteSlice], Comparator[K]]): Unit
    Annotations
    @root()
  71. def setDir(arg0: Path): Unit
    Annotations
    @root()
  72. def setFileCache(arg0: Enable): Unit
    Annotations
    @root()
  73. def setLevelFiveThrottle(arg0: JavaFunction[LevelMeter, Throttle]): Unit
    Annotations
    @root()
  74. def setLevelFourThrottle(arg0: JavaFunction[LevelMeter, Throttle]): Unit
    Annotations
    @root()
  75. def setLevelOneThrottle(arg0: JavaFunction[LevelMeter, Throttle]): Unit
    Annotations
    @root()
  76. def setLevelSixThrottle(arg0: JavaFunction[LevelMeter, Throttle]): Unit
    Annotations
    @root()
  77. def setLevelThreeThrottle(arg0: JavaFunction[LevelMeter, Throttle]): Unit
    Annotations
    @root()
  78. def setLevelTwoThrottle(arg0: JavaFunction[LevelMeter, Throttle]): Unit
    Annotations
    @root()
  79. def setLevelZeroThrottle(arg0: JavaFunction[LevelZeroMeter, FiniteDuration]): Unit
    Annotations
    @root()
  80. def setMapSize(arg0: Int): Unit
    Annotations
    @root()
  81. def setMemoryCache(arg0: MemoryCache): Unit
    Annotations
    @root()
  82. def setMightContainKeyIndex(arg0: Enable): Unit
    Annotations
    @root()
  83. def setMmapAppendix(arg0: Boolean): Unit
    Annotations
    @root()
  84. def setMmapMaps(arg0: Boolean): Unit
    Annotations
    @root()
  85. def setOtherDirs(arg0: Seq[Dir]): Unit
    Annotations
    @root()
  86. def setRandomKeyIndex(arg0: Enable): Unit
    Annotations
    @root()
  87. def setRecoveryMode(arg0: RecoveryMode): Unit
    Annotations
    @root()
  88. def setSegmentConfig(arg0: SegmentConfig): Unit
    Annotations
    @root()
  89. def setSortedKeyIndex(arg0: Enable): Unit
    Annotations
    @root()
  90. def setThreadStateCache(arg0: ThreadStateCache): Unit
    Annotations
    @root()
  91. def setValuesConfig(arg0: ValuesConfig): Unit
    Annotations
    @root()
  92. var sortedKeyIndex: Enable
  93. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  94. var threadStateCache: ThreadStateCache
  95. def toString(): String
    Definition Classes
    AnyRef → Any
  96. var valuesConfig: ValuesConfig
  97. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  98. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  99. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped