package segment
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- class DeadlineAndFunctionId extends AnyRef
- Attributes
- protected
- 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
- trait PersistentSegment extends Segment
- 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
- case class PersistentSegmentOne(file: DBFile, createdInLevel: Int, minKey: Slice[Byte], maxKey: MaxKey[Slice[Byte]], minMaxFunctionId: Option[MinMax[Slice[Byte]]], segmentSize: Int, nearestPutDeadline: Option[Deadline], ref: SegmentRef)(implicit keyOrder: KeyOrder[Slice[Byte]], timeOrder: TimeOrder[Slice[Byte]], functionStore: FunctionStore, blockCache: Option[State], fileSweeper: FileSweeperActor, bufferCleaner: ByteBufferSweeperActor, keyValueMemorySweeper: Option[KeyValue], forceSaveApplier: ForceSaveApplier, segmentIO: SegmentIO) extends PersistentSegment with LazyLogging with Product with Serializable
- Attributes
- protected
- class SegmentReadState extends SegmentReadStateOption
Stores read state of each accessed Segment.
Stores read state of each accessed Segment. This cache is currently managed in swaydb.core.Core.readStates.
Both Get and Higher functions mutate keyValue. But lower can only mutate lower as it depends on get to fetch the end key-value for faster lower search and should not mutate get's set keyValue.
- Attributes
- protected
- sealed trait SegmentReadStateOption extends SomeOrNone[SegmentReadStateOption, SegmentReadState]
- Attributes
- protected
Value Members
- object DeadlineAndFunctionId
- Attributes
- protected
- case object PersistentSegmentMany extends Product with Serializable
- Attributes
- protected
- object PersistentSegmentOne extends Serializable
- Attributes
- protected
- object SegmentReadState
- Attributes
- protected