Packages

class Config[A, F <: OnKey[A, Void, Return.Set[Void]], 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. All

Instance Constructors

  1. new Config(dir: Path, maxOpenSegments: Int = 1000, memoryCacheSize: Int = 100.mb, 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: FiniteDuration = 10.seconds, fileSweeperPollInterval: FiniteDuration = 10.seconds, mightContainFalsePositiveRate: Double = 0.01, blockSize: Int = 4098, compressDuplicateValues: Boolean = true, deleteSegmentsEventually: Boolean = true, acceleration: JavaFunction[LevelZeroMeter, Accelerator] = Accelerator.noBrakes() _).asJava, comparator: IO[Comparator[ByteSlice], Comparator[A]] = ..., fileSweeperExecutorService: ExecutorService = SwayDB.defaultExecutorService, serializer: Serializer[A], 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( ... ) @native()
  9. var comparator: IO[Comparator[ByteSlice], Comparator[A]]
  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: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. implicit def fileSweeperEC: ExecutionContext
  16. var fileSweeperExecutorService: ExecutorService
  17. var fileSweeperPollInterval: FiniteDuration
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def getAcceleration(): JavaFunction[LevelZeroMeter, Accelerator]
  20. def getAppendixFlushCheckpointSize(): Int
  21. def getBlockSize(): Int
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def getComparator(): IO[Comparator[ByteSlice], Comparator[A]]
  24. def getDir(): Path
  25. def getFileSweeperExecutorService(): ExecutorService
  26. def getFileSweeperPollInterval(): FiniteDuration
  27. def getMapSize(): Int
  28. def getMaxOpenSegments(): Int
  29. def getMemoryCacheSize(): Int
  30. def getMemorySweeperPollInterval(): FiniteDuration
  31. def getMightContainFalsePositiveRate(): Double
  32. def getMmapSegments(): MMAP
  33. def getOtherDirs(): Seq[Dir]
  34. def getRecoveryMode(): RecoveryMode
  35. def getSegmentSize(): Int
  36. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  37. def init(): IO[Throwable, SetIO[A, F]]
  38. def isCompressDuplicateValues(): Boolean
  39. def isDeleteSegmentsEventually(): Boolean
  40. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  41. def isMmapAppendix(): Boolean
  42. def isMmapMaps(): Boolean
  43. var mapSize: Int
  44. var maxOpenSegments: Int
  45. var memoryCacheSize: Int
  46. var memorySweeperPollInterval: FiniteDuration
  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
  59. def setAppendixFlushCheckpointSize(arg0: Int): Unit
  60. def setBlockSize(arg0: Int): Unit
  61. def setComparator(arg0: IO[Comparator[ByteSlice], Comparator[A]]): Unit
  62. def setCompressDuplicateValues(arg0: Boolean): Unit
  63. def setDeleteSegmentsEventually(arg0: Boolean): Unit
  64. def setDir(arg0: Path): Unit
  65. def setFileSweeperExecutorService(arg0: ExecutorService): Unit
  66. def setFileSweeperPollInterval(arg0: FiniteDuration): Unit
  67. def setMapSize(arg0: Int): Unit
  68. def setMaxOpenSegments(arg0: Int): Unit
  69. def setMemoryCacheSize(arg0: Int): Unit
  70. def setMemorySweeperPollInterval(arg0: FiniteDuration): Unit
  71. def setMightContainFalsePositiveRate(arg0: Double): Unit
  72. def setMmapAppendix(arg0: Boolean): Unit
  73. def setMmapMaps(arg0: Boolean): Unit
  74. def setMmapSegments(arg0: MMAP): Unit
  75. def setOtherDirs(arg0: Seq[Dir]): Unit
  76. def setRecoveryMode(arg0: RecoveryMode): Unit
  77. def setSegmentSize(arg0: Int): Unit
  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( ... )
  81. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  82. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped