Package

swaydb.core

segment

Permalink

package segment

Visibility
  1. Public
  2. All

Type Members

  1. class DeadlineAndFunctionId extends AnyRef

    Permalink
    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: SkipListMap[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

    Permalink
    Attributes
    protected
  3. trait PersistentSegment extends Segment

    Permalink
  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, SkipListMap[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) extends PersistentSegment with LazyLogging with Product with Serializable

    Permalink
    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], segmentIO: SegmentIO) extends PersistentSegment with LazyLogging with Product with Serializable

    Permalink
    Attributes
    protected
  6. class SegmentReadState extends SegmentReadStateOption

    Permalink

    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]

    Permalink
    Attributes
    protected

Value Members

  1. object DeadlineAndFunctionId

    Permalink
    Attributes
    protected
  2. object PersistentSegmentMany extends Serializable

    Permalink
    Attributes
    protected
  3. object PersistentSegmentOne extends Serializable

    Permalink
    Attributes
    protected
  4. object SegmentReadState

    Permalink
    Attributes
    protected
  5. package format

    Permalink

Ungrouped