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
Ordering
- Alphabetic
- By Inheritance
Inherited
- MemorySegment
- Serializable
- Product
- Equals
- LazyLogging
- Segment
- SegmentOption
- SomeOrNone
- FileSweeperItem
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def areAllCachesEmpty: Boolean
- Definition Classes
- MemorySegment → Segment
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cachedKeyValueSize: Int
- Definition Classes
- MemorySegment → Segment
- def clearAllCaches(): Unit
- Definition Classes
- MemorySegment → Segment
- def clearCachedKeyValues(): Unit
- Definition Classes
- MemorySegment → Segment
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val close: Unit
- Definition Classes
- MemorySegment → Segment → FileSweeperItem
- def containsS(f: Segment): Boolean
- Definition Classes
- SomeOrNone
- val createdInLevel: Int
- Definition Classes
- MemorySegment → Segment
- def delete(): Unit
- Definition Classes
- MemorySegment → Segment → FileSweeperItem
- def deleteSegmentsEventually: Unit
- Definition Classes
- MemorySegment → Segment
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def existsOnDisk: Boolean
- Definition Classes
- MemorySegment → Segment
- def existsS(f: (Segment) => Boolean): Boolean
- Definition Classes
- SomeOrNone
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def flatMapOptionS[B](f: (Segment) => Option[B]): Option[B]
- Definition Classes
- SomeOrNone
- def flatMapS[B <: SegmentOption](f: (Segment) => B): SegmentOption
- Definition Classes
- SomeOrNone
- def flatMapSomeS[T2](none: T2)(f: (Segment) => T2): T2
- Definition Classes
- SomeOrNone
- def foldLeftS[B](initial: B)(f: (B, Segment) => B): B
- Definition Classes
- SomeOrNone
- def forallS(f: (Segment) => Boolean): Boolean
- Definition Classes
- SomeOrNone
- def foreachS[B](f: (Segment) => B): Unit
- Definition Classes
- SomeOrNone
- def formatId: Byte
- Definition Classes
- MemorySegment → Segment
- def get(key: Slice[Byte], threadState: ThreadReadState): MemoryOption
- Definition Classes
- MemorySegment → Segment
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getFromCache(key: Slice[Byte]): MemoryOption
- Definition Classes
- MemorySegment → Segment
- def getKeyValueCount(): Int
- Definition Classes
- MemorySegment → Segment
- def getOrElseS[B >: Segment](other: => B): Segment
- Definition Classes
- SomeOrNone
- def getS: Segment
- Definition Classes
- Segment → SomeOrNone
- def hasBloomFilter: Boolean
- Definition Classes
- MemorySegment → Segment
- val hasPut: Boolean
- Definition Classes
- MemorySegment → Segment
- val hasRange: Boolean
- Definition Classes
- MemorySegment → Segment
- def higher(key: Slice[Byte], threadState: ThreadReadState): MemoryOption
- Definition Classes
- MemorySegment → Segment
- def isFileDefined: Boolean
- Definition Classes
- MemorySegment → Segment
- def isFooterDefined: Boolean
- Definition Classes
- MemorySegment → Segment
- def isInKeyValueCache(key: Slice[Byte]): Boolean
- Definition Classes
- MemorySegment → Segment
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isKeyValueCacheEmpty: Boolean
- Definition Classes
- MemorySegment → Segment
- def isMMAP: Boolean
- Definition Classes
- MemorySegment → Segment
- def isNoneS: Boolean
- Definition Classes
- Segment → SomeOrNone
- def isOpen: Boolean
- Definition Classes
- MemorySegment → Segment → FileSweeperItem
- def isSomeS: Boolean
- Definition Classes
- SomeOrNone
- def iterator(): Iterator[Memory]
- Definition Classes
- MemorySegment → Segment
- lazy val logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
- def lower(key: Slice[Byte], threadState: ThreadReadState): MemoryOption
- Definition Classes
- MemorySegment → Segment
- def mapS[B](f: (Segment) => B): Option[B]
- Definition Classes
- SomeOrNone
- val maxKey: MaxKey[Slice[Byte]]
- Definition Classes
- MemorySegment → Segment
- def memory: Boolean
- Definition Classes
- MemorySegment → Segment
- def mightContainFunction(key: Slice[Byte]): Boolean
- Definition Classes
- MemorySegment → Segment
- def mightContainKey(key: Slice[Byte]): Boolean
- Definition Classes
- MemorySegment → Segment
- val minKey: Slice[Byte]
- Definition Classes
- MemorySegment → Segment
- val minMaxFunctionId: Option[MinMax[Slice[Byte]]]
- Definition Classes
- MemorySegment → Segment
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nearestPutDeadline: Option[Deadline]
- Definition Classes
- MemorySegment → Segment
- def noneS: SegmentOption
- Definition Classes
- SegmentOption → SomeOrNone
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def onSideEffectS(f: (SegmentOption) => Unit): SegmentOption
- Definition Classes
- SomeOrNone
- def onSomeSideEffectS(f: (Segment) => Unit): SegmentOption
- Definition Classes
- SomeOrNone
- def orElseS[B <: SegmentOption](other: => B): SegmentOption
- Definition Classes
- SomeOrNone
- val path: Path
- Definition Classes
- MemorySegment → Segment → FileSweeperItem
- def persistent: Boolean
- Definition Classes
- MemorySegment → Segment
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- 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
- 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
- def segmentId: Long
- Definition Classes
- Segment
- val segmentSize: Int
- Definition Classes
- MemorySegment → Segment
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toOptionS: Option[Segment]
- Definition Classes
- SomeOrNone
- def toSlice(): Slice[Memory]
- Definition Classes
- MemorySegment → Segment
- def valueOrElseS[B](f: (Segment) => B, orElse: B): B
- Definition Classes
- SomeOrNone
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()