Packages

p

swaydb.core

segment

package segment

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package format

Type Members

  1. class DeadlineAndFunctionId extends AnyRef
    Attributes
    protected
  2. 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
  3. trait PersistentSegment extends Segment
  4. 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
  5. 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
  6. 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
  7. sealed trait SegmentReadStateOption extends SomeOrNone[SegmentReadStateOption, SegmentReadState]
    Attributes
    protected

Value Members

  1. object DeadlineAndFunctionId
    Attributes
    protected
  2. case object PersistentSegmentMany extends Product with Serializable
    Attributes
    protected
  3. object PersistentSegmentOne extends Serializable
    Attributes
    protected
  4. object SegmentReadState
    Attributes
    protected

Ungrouped