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

Inherited from AnyRef

Inherited from Any

Ungrouped