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

Inherited from AnyRef

Inherited from Any

Ungrouped