Packages

c

swaydb.core.segment

PersistentSegmentMany

case class PersistentSegmentMany(file: DBFile, createdInLevel: Int, minKey: Slice[Byte], maxKey: MaxKey[Slice[Byte]], minMaxFunctionId: Option[MinMax[Slice[Byte]]], segmentSize: Int, nearestPutDeadline: Option[Deadline], segmentsCache: Cache[Error.Segment, Unit, SkipListTreeMap[SliceOption[Byte], SegmentRefOption, Slice[Byte], SegmentRef]])(implicit keyOrder: KeyOrder[Slice[Byte]], timeOrder: TimeOrder[Slice[Byte]], functionStore: FunctionStore, blockCache: Option[State], fileSweeper: FileSweeperActor, bufferCleaner: ByteBufferSweeperActor, keyValueMemorySweeper: Option[KeyValue], segmentIO: SegmentIO, forceSaveApplier: ForceSaveApplier) extends PersistentSegment with LazyLogging with Product with Serializable

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

Instance Constructors

  1. new PersistentSegmentMany(file: DBFile, createdInLevel: Int, minKey: Slice[Byte], maxKey: MaxKey[Slice[Byte]], minMaxFunctionId: Option[MinMax[Slice[Byte]]], segmentSize: Int, nearestPutDeadline: Option[Deadline], segmentsCache: Cache[Error.Segment, Unit, SkipListTreeMap[SliceOption[Byte], SegmentRefOption, Slice[Byte], SegmentRef]])(implicit keyOrder: KeyOrder[Slice[Byte]], timeOrder: TimeOrder[Slice[Byte]], functionStore: FunctionStore, blockCache: Option[State], fileSweeper: FileSweeperActor, bufferCleaner: ByteBufferSweeperActor, keyValueMemorySweeper: Option[KeyValue], segmentIO: SegmentIO, forceSaveApplier: ForceSaveApplier)

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
    PersistentSegmentMany → Segment
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def cachedKeyValueSize: Int
    Definition Classes
    PersistentSegmentMany → Segment
  7. def clearAllCaches(): Unit
    Definition Classes
    PersistentSegmentMany → Segment
  8. def clearCachedKeyValues(): Unit
    Definition Classes
    PersistentSegmentMany → Segment
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def close(): Unit
    Definition Classes
    PersistentSegmentMany → Segment → FileSweeperItem
  11. def containsS(f: Segment): Boolean
    Definition Classes
    SomeOrNone
  12. def copyTo(toPath: Path): Path
  13. val createdInLevel: Int
    Definition Classes
    PersistentSegmentMany → Segment
  14. def delete(): Unit
    Definition Classes
    PersistentSegmentMany → Segment → FileSweeperItem
  15. def deleteSegmentsEventually: Unit
    Definition Classes
    PersistentSegmentMany → Segment
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def existsOnDisk: Boolean
    Definition Classes
    PersistentSegmentMany → Segment
  18. def existsS(f: (Segment) => Boolean): Boolean
    Definition Classes
    SomeOrNone
  19. val file: DBFile
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  21. def flatMapOptionS[B](f: (Segment) => Option[B]): Option[B]
    Definition Classes
    SomeOrNone
  22. def flatMapS[B <: SegmentOption](f: (Segment) => B): SegmentOption
    Definition Classes
    SomeOrNone
  23. def flatMapSomeS[T2](none: T2)(f: (Segment) => T2): T2
    Definition Classes
    SomeOrNone
  24. def foldLeftS[B](initial: B)(f: (B, Segment) => B): B
    Definition Classes
    SomeOrNone
  25. def forallS(f: (Segment) => Boolean): Boolean
    Definition Classes
    SomeOrNone
  26. def foreachS[B](f: (Segment) => B): Unit
    Definition Classes
    SomeOrNone
  27. def formatId: Byte
    Definition Classes
    PersistentSegmentMany → Segment
  28. def get(key: Slice[Byte], threadState: ThreadReadState): PersistentOption
    Definition Classes
    PersistentSegmentMany → Segment
  29. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  30. def getFromCache(key: Slice[Byte]): PersistentOption
    Definition Classes
    PersistentSegmentMany → Segment
  31. def getKeyValueCount(): Int
    Definition Classes
    PersistentSegmentMany → Segment
  32. def getOrElseS[B >: Segment](other: => B): Segment
    Definition Classes
    SomeOrNone
  33. def getS: Segment
    Definition Classes
    Segment → SomeOrNone
  34. def hasBloomFilter: Boolean
    Definition Classes
    PersistentSegmentMany → Segment
  35. def hasPut: Boolean
    Definition Classes
    PersistentSegmentMany → Segment
  36. def hasRange: Boolean
    Definition Classes
    PersistentSegmentMany → Segment
  37. def higher(key: Slice[Byte], threadState: ThreadReadState): PersistentOption
    Definition Classes
    PersistentSegmentMany → Segment
  38. def isFileDefined: Boolean
    Definition Classes
    PersistentSegmentMany → Segment
  39. def isFooterDefined: Boolean
    Definition Classes
    PersistentSegmentMany → Segment
  40. def isInKeyValueCache(key: Slice[Byte]): Boolean
    Definition Classes
    PersistentSegmentMany → Segment
  41. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  42. def isKeyValueCacheEmpty: Boolean
    Definition Classes
    PersistentSegmentMany → Segment
  43. def isMMAP: Boolean
    Definition Classes
    PersistentSegment → Segment
  44. def isNoneS: Boolean
    Definition Classes
    Segment → SomeOrNone
  45. def isOpen: Boolean
    Definition Classes
    PersistentSegmentMany → Segment → FileSweeperItem
  46. def isSomeS: Boolean
    Definition Classes
    SomeOrNone
  47. def iterator(): Iterator[Persistent]
    Definition Classes
    PersistentSegmentMany → Segment
  48. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
    Annotations
    @transient()
  49. def lower(key: Slice[Byte], threadState: ThreadReadState): PersistentOption
    Definition Classes
    PersistentSegmentMany → Segment
  50. def mapS[B](f: (Segment) => B): Option[B]
    Definition Classes
    SomeOrNone
  51. val maxKey: MaxKey[Slice[Byte]]
    Definition Classes
    PersistentSegmentMany → Segment
  52. def memory: Boolean
    Definition Classes
    PersistentSegmentMany → Segment
  53. def mightContainFunction(key: Slice[Byte]): Boolean

    PersistentSegmentMany is not aware of minMaxFunctionId.

    PersistentSegmentMany is not aware of minMaxFunctionId. It should be deferred to SegmentRef.

    Definition Classes
    PersistentSegmentMany → Segment
  54. def mightContainKey(key: Slice[Byte]): Boolean
    Definition Classes
    PersistentSegmentMany → Segment
  55. val minKey: Slice[Byte]
    Definition Classes
    PersistentSegmentMany → Segment
  56. val minMaxFunctionId: Option[MinMax[Slice[Byte]]]
    Definition Classes
    PersistentSegmentMany → Segment
  57. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  58. val nearestPutDeadline: Option[Deadline]
    Definition Classes
    PersistentSegmentMany → Segment
  59. def noneS: SegmentOption
    Definition Classes
    SegmentOption → SomeOrNone
  60. def notExistsOnDisk: Boolean
  61. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  62. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  63. def onSideEffectS(f: (SegmentOption) => Unit): SegmentOption
    Definition Classes
    SomeOrNone
  64. def onSomeSideEffectS(f: (Segment) => Unit): SegmentOption
    Definition Classes
    SomeOrNone
  65. def orElseS[B <: SegmentOption](other: => B): SegmentOption
    Definition Classes
    SomeOrNone
  66. implicit val partialKeyOrder: KeyOrder[Partial]
  67. def path: Path
    Definition Classes
    PersistentSegmentMany → Segment → FileSweeperItem
  68. def persistent: Boolean
    Definition Classes
    PersistentSegmentMany → Segment
  69. implicit val persistentKeyOrder: KeyOrder[Persistent]
  70. def productElementNames: Iterator[String]
    Definition Classes
    Product
  71. def put(newKeyValues: Slice[KeyValue], removeDeletes: Boolean, createdInLevel: Int, valuesConfig: Config, sortedIndexConfig: Config, binarySearchIndexConfig: Config, hashIndexConfig: Config, bloomFilterConfig: Config, segmentConfig: Config, pathsDistributor: PathsDistributor = PathsDistributor(Seq(Dir(path.getParent, 1)), () => Seq()))(implicit idGenerator: IDGenerator): Slice[PersistentSegment]

    Default targetPath is set to this PersistentSegmentOne's parent directory.

    Default targetPath is set to this PersistentSegmentOne's parent directory.

    Definition Classes
    PersistentSegmentManyPersistentSegment → Segment
  72. def refresh(removeDeletes: Boolean, createdInLevel: Int, valuesConfig: Config, sortedIndexConfig: Config, binarySearchIndexConfig: Config, hashIndexConfig: Config, bloomFilterConfig: Config, segmentConfig: Config, pathsDistributor: PathsDistributor = PathsDistributor(Seq(Dir(path.getParent, 1)), () => Seq()))(implicit idGenerator: IDGenerator): Slice[PersistentSegment]
    Definition Classes
    PersistentSegmentManyPersistentSegment → Segment
  73. def segmentId: Long
    Definition Classes
    Segment
  74. def segmentRefs: Iterable[SegmentRef]
  75. implicit val segmentSearcher: SegmentSearcher
  76. val segmentSize: Int
    Definition Classes
    PersistentSegmentMany → Segment
  77. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  78. def toOptionS: Option[Segment]
    Definition Classes
    SomeOrNone
  79. def toSlice(): Slice[Persistent]
    Definition Classes
    PersistentSegmentMany → Segment
  80. def valueOrElseS[B](f: (Segment) => B, orElse: B): B
    Definition Classes
    SomeOrNone
  81. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  82. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  83. 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 PersistentSegment

Inherited from Segment

Inherited from SegmentOption

Inherited from SomeOrNone[SegmentOption, Segment]

Inherited from FileSweeperItem

Inherited from AnyRef

Inherited from Any

Ungrouped