Packages

c

swaydb.core.segment

MemorySegment

case class MemorySegment(path: Path, minKey: Slice[Byte], maxKey: MaxKey[Slice[Byte]], minMaxFunctionId: Option[MinMax[Slice[Byte]]], segmentSize: Int, hasRange: Boolean, hasPut: Boolean, createdInLevel: Int, skipList: SkipListTreeMap[SliceOption[Byte], MemoryOption, Slice[Byte], Memory], nearestPutDeadline: Option[Deadline])(implicit keyOrder: KeyOrder[Slice[Byte]], timeOrder: TimeOrder[Slice[Byte]], functionStore: FunctionStore, fileSweeper: FileSweeperActor) extends Segment with LazyLogging with Product with Serializable

Attributes
protected
Linear Supertypes
Serializable, Product, Equals, LazyLogging, Segment, SegmentOption, SomeOrNone[SegmentOption, Segment], FileSweeperItem, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MemorySegment
  2. Serializable
  3. Product
  4. Equals
  5. LazyLogging
  6. Segment
  7. SegmentOption
  8. SomeOrNone
  9. FileSweeperItem
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new MemorySegment(path: Path, minKey: Slice[Byte], maxKey: MaxKey[Slice[Byte]], minMaxFunctionId: Option[MinMax[Slice[Byte]]], segmentSize: Int, hasRange: Boolean, hasPut: Boolean, createdInLevel: Int, skipList: SkipListTreeMap[SliceOption[Byte], MemoryOption, Slice[Byte], Memory], nearestPutDeadline: Option[Deadline])(implicit keyOrder: KeyOrder[Slice[Byte]], timeOrder: TimeOrder[Slice[Byte]], functionStore: FunctionStore, fileSweeper: FileSweeperActor)

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. def areAllCachesEmpty: Boolean
    Definition Classes
    MemorySegment → Segment
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def cachedKeyValueSize: Int
    Definition Classes
    MemorySegment → Segment
  7. def clearAllCaches(): Unit
    Definition Classes
    MemorySegment → Segment
  8. def clearCachedKeyValues(): Unit
    Definition Classes
    MemorySegment → Segment
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. val close: Unit
    Definition Classes
    MemorySegment → Segment → FileSweeperItem
  11. def containsS(f: Segment): Boolean
    Definition Classes
    SomeOrNone
  12. val createdInLevel: Int
    Definition Classes
    MemorySegment → Segment
  13. def delete(): Unit
    Definition Classes
    MemorySegment → Segment → FileSweeperItem
  14. def deleteSegmentsEventually: Unit
    Definition Classes
    MemorySegment → Segment
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def existsOnDisk: Boolean
    Definition Classes
    MemorySegment → Segment
  17. def existsS(f: (Segment) => Boolean): Boolean
    Definition Classes
    SomeOrNone
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. def flatMapOptionS[B](f: (Segment) => Option[B]): Option[B]
    Definition Classes
    SomeOrNone
  20. def flatMapS[B <: SegmentOption](f: (Segment) => B): SegmentOption
    Definition Classes
    SomeOrNone
  21. def flatMapSomeS[T2](none: T2)(f: (Segment) => T2): T2
    Definition Classes
    SomeOrNone
  22. def foldLeftS[B](initial: B)(f: (B, Segment) => B): B
    Definition Classes
    SomeOrNone
  23. def forallS(f: (Segment) => Boolean): Boolean
    Definition Classes
    SomeOrNone
  24. def foreachS[B](f: (Segment) => B): Unit
    Definition Classes
    SomeOrNone
  25. def formatId: Byte
    Definition Classes
    MemorySegment → Segment
  26. def get(key: Slice[Byte], threadState: ThreadReadState): MemoryOption
    Definition Classes
    MemorySegment → Segment
  27. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. def getFromCache(key: Slice[Byte]): MemoryOption
    Definition Classes
    MemorySegment → Segment
  29. def getKeyValueCount(): Int
    Definition Classes
    MemorySegment → Segment
  30. def getOrElseS[B >: Segment](other: => B): Segment
    Definition Classes
    SomeOrNone
  31. def getS: Segment
    Definition Classes
    Segment → SomeOrNone
  32. def hasBloomFilter: Boolean
    Definition Classes
    MemorySegment → Segment
  33. val hasPut: Boolean
    Definition Classes
    MemorySegment → Segment
  34. val hasRange: Boolean
    Definition Classes
    MemorySegment → Segment
  35. def higher(key: Slice[Byte], threadState: ThreadReadState): MemoryOption
    Definition Classes
    MemorySegment → Segment
  36. def isFileDefined: Boolean
    Definition Classes
    MemorySegment → Segment
  37. def isFooterDefined: Boolean
    Definition Classes
    MemorySegment → Segment
  38. def isInKeyValueCache(key: Slice[Byte]): Boolean
    Definition Classes
    MemorySegment → Segment
  39. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  40. def isKeyValueCacheEmpty: Boolean
    Definition Classes
    MemorySegment → Segment
  41. def isMMAP: Boolean
    Definition Classes
    MemorySegment → Segment
  42. def isNoneS: Boolean
    Definition Classes
    Segment → SomeOrNone
  43. def isOpen: Boolean
    Definition Classes
    MemorySegment → Segment → FileSweeperItem
  44. def isSomeS: Boolean
    Definition Classes
    SomeOrNone
  45. def iterator(): Iterator[Memory]
    Definition Classes
    MemorySegment → Segment
  46. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
    Annotations
    @transient()
  47. def lower(key: Slice[Byte], threadState: ThreadReadState): MemoryOption
    Definition Classes
    MemorySegment → Segment
  48. def mapS[B](f: (Segment) => B): Option[B]
    Definition Classes
    SomeOrNone
  49. val maxKey: MaxKey[Slice[Byte]]
    Definition Classes
    MemorySegment → Segment
  50. def memory: Boolean
    Definition Classes
    MemorySegment → Segment
  51. def mightContainFunction(key: Slice[Byte]): Boolean
    Definition Classes
    MemorySegment → Segment
  52. def mightContainKey(key: Slice[Byte]): Boolean
    Definition Classes
    MemorySegment → Segment
  53. val minKey: Slice[Byte]
    Definition Classes
    MemorySegment → Segment
  54. val minMaxFunctionId: Option[MinMax[Slice[Byte]]]
    Definition Classes
    MemorySegment → Segment
  55. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  56. val nearestPutDeadline: Option[Deadline]
    Definition Classes
    MemorySegment → Segment
  57. def noneS: SegmentOption
    Definition Classes
    SegmentOption → SomeOrNone
  58. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  59. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  60. def onSideEffectS(f: (SegmentOption) => Unit): SegmentOption
    Definition Classes
    SomeOrNone
  61. def onSomeSideEffectS(f: (Segment) => Unit): SegmentOption
    Definition Classes
    SomeOrNone
  62. def orElseS[B <: SegmentOption](other: => B): SegmentOption
    Definition Classes
    SomeOrNone
  63. val path: Path
    Definition Classes
    MemorySegment → Segment → FileSweeperItem
  64. def persistent: Boolean
    Definition Classes
    MemorySegment → Segment
  65. def productElementNames: Iterator[String]
    Definition Classes
    Product
  66. def put(newKeyValues: Slice[KeyValue], removeDeletes: Boolean, createdInLevel: Int, valuesConfig: Config, sortedIndexConfig: Config, binarySearchIndexConfig: Config, hashIndexConfig: Config, bloomFilterConfig: Config, segmentConfig: Config, pathsDistributor: PathsDistributor)(implicit idGenerator: IDGenerator): Slice[Segment]
    Definition Classes
    MemorySegment → Segment
  67. def refresh(removeDeletes: Boolean, createdInLevel: Int, valuesConfig: Config, sortedIndexConfig: Config, binarySearchIndexConfig: Config, hashIndexConfig: Config, bloomFilterConfig: Config, segmentConfig: Config, pathsDistributor: PathsDistributor)(implicit idGenerator: IDGenerator): Slice[Segment]
    Definition Classes
    MemorySegment → Segment
  68. def segmentId: Long
    Definition Classes
    Segment
  69. val segmentSize: Int
    Definition Classes
    MemorySegment → Segment
  70. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  71. def toOptionS: Option[Segment]
    Definition Classes
    SomeOrNone
  72. def toSlice(): Slice[Memory]
    Definition Classes
    MemorySegment → Segment
  73. def valueOrElseS[B](f: (Segment) => B, orElse: B): B
    Definition Classes
    SomeOrNone
  74. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  75. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  76. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from LazyLogging

Inherited from Segment

Inherited from SegmentOption

Inherited from SomeOrNone[SegmentOption, Segment]

Inherited from FileSweeperItem

Inherited from AnyRef

Inherited from Any

Ungrouped