Class

swaydb.java.memory.MapConfig

Config

Related Doc: package MapConfig

Permalink

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. All

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]] = ..., fileSweeperExecutorService: ExecutorService = SwayDB.sweeperExecutorService, keySerializer: Serializer[K], valueSerializer: Serializer[V], functionClassTag: ClassTag[SF])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. var acceleration: JavaFunction[LevelZeroMeter, Accelerator]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. var cacheKeyValueIds: Boolean

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. var comparator: IO[Comparator[ByteSlice], Comparator[K]]

    Permalink
  9. var deleteSegmentsEventually: Boolean

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. implicit def fileSweeperEC: ExecutionContext

    Permalink
  13. var fileSweeperExecutorService: ExecutorService

    Permalink
  14. var fileSweeperPollInterval: Duration

    Permalink
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def getAcceleration(): JavaFunction[LevelZeroMeter, Accelerator]

    Permalink
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def getComparator(): IO[Comparator[ByteSlice], Comparator[K]]

    Permalink
  19. def getFileSweeperExecutorService(): ExecutorService

    Permalink
  20. def getFileSweeperPollInterval(): Duration

    Permalink
  21. def getMapSize(): Int

    Permalink
  22. def getMaxCachedKeyValuesPerSegment(): Int

    Permalink
  23. def getMaxOpenSegments(): Int

    Permalink
  24. def getMemoryCacheSize(): Int

    Permalink
  25. def getMightContainFalsePositiveRate(): Double

    Permalink
  26. def getMinSegmentSize(): Int

    Permalink
  27. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  28. def init(): Map[K, V, F]

    Permalink
  29. def isCacheKeyValueIds(): Boolean

    Permalink
  30. def isDeleteSegmentsEventually(): Boolean

    Permalink
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. var mapSize: Int

    Permalink
  33. var maxCachedKeyValuesPerSegment: Int

    Permalink
  34. var maxOpenSegments: Int

    Permalink
  35. var memoryCacheSize: Int

    Permalink
  36. var mightContainFalsePositiveRate: Double

    Permalink
  37. var minSegmentSize: Int

    Permalink
  38. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  39. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  40. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  41. implicit def scalaKeyOrder: KeyOrder[Slice[Byte]]

    Permalink
  42. def setAcceleration(arg0: JavaFunction[LevelZeroMeter, Accelerator]): Unit

    Permalink
  43. def setCacheKeyValueIds(arg0: Boolean): Unit

    Permalink
  44. def setComparator(arg0: IO[Comparator[ByteSlice], Comparator[K]]): Unit

    Permalink
  45. def setDeleteSegmentsEventually(arg0: Boolean): Unit

    Permalink
  46. def setFileSweeperExecutorService(arg0: ExecutorService): Unit

    Permalink
  47. def setFileSweeperPollInterval(arg0: Duration): Unit

    Permalink
  48. def setMapSize(arg0: Int): Unit

    Permalink
  49. def setMaxCachedKeyValuesPerSegment(arg0: Int): Unit

    Permalink
  50. def setMaxOpenSegments(arg0: Int): Unit

    Permalink
  51. def setMemoryCacheSize(arg0: Int): Unit

    Permalink
  52. def setMightContainFalsePositiveRate(arg0: Double): Unit

    Permalink
  53. def setMinSegmentSize(arg0: Int): Unit

    Permalink
  54. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  55. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  56. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped