Trait/Object

swaydb.core.level

NextLevel

Related Docs: object NextLevel | package level

Permalink

trait NextLevel extends LevelRef

Levels that can have upper Levels or Levels that upper Levels can merge Segments or Maps into.

Linear Supertypes
LevelRef, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NextLevel
  2. LevelRef
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def appendixPath: Path

    Permalink
    Definition Classes
    LevelRef
  2. abstract def ceiling(key: Slice[Byte], readState: ThreadReadState): PutOption

    Permalink
    Definition Classes
    LevelRef
  3. abstract def close: IO[Close, Unit]

    Permalink
    Definition Classes
    LevelRef
  4. abstract def closeSegments(): IO[Error.Level, Unit]

    Permalink
    Definition Classes
    LevelRef
  5. abstract def collapse(segments: Iterable[Segment]): IO[Promise[Unit], IO[Error.Level, Int]]

    Permalink
  6. abstract def containsSegmentWithMinKey(minKey: Slice[Byte]): Boolean

    Permalink
    Definition Classes
    LevelRef
  7. abstract def delete: IO[Delete, Unit]

    Permalink
    Definition Classes
    NextLevel → LevelRef
  8. abstract def existsOnDisk: Boolean

    Permalink
    Definition Classes
    LevelRef
  9. abstract def floor(key: Slice[Byte], readState: ThreadReadState): PutOption

    Permalink
    Definition Classes
    LevelRef
  10. abstract def foreachSegment[T](f: (Slice[Byte], Segment) ⇒ T): Unit

    Permalink
    Definition Classes
    LevelRef
  11. abstract def get(key: Slice[Byte], readState: ThreadReadState): PutOption

    Permalink
    Definition Classes
    LevelRef
  12. abstract def getSegment(minKey: Slice[Byte]): SegmentOption

    Permalink
    Definition Classes
    LevelRef
  13. abstract def hasNextLevel: Boolean

    Permalink
    Definition Classes
    LevelRef
  14. abstract def head(readState: ThreadReadState): PutOption

    Permalink
    Definition Classes
    LevelRef
  15. abstract def headKey(readState: ThreadReadState): SliceOption[Byte]

    Permalink
    Definition Classes
    LevelRef
  16. abstract def higher(key: Slice[Byte], readState: ThreadReadState): PutOption

    Permalink
    Definition Classes
    LevelRef
  17. abstract def inMemory: Boolean

    Permalink
    Definition Classes
    LevelRef
  18. abstract def isCopyable(map: Map[SliceOption[Byte], MemoryOption, Slice[Byte], Memory]): Boolean

    Permalink
  19. abstract def isCopyable(minKey: Slice[Byte], maxKey: Slice[Byte], maxKeyInclusive: Boolean): Boolean

    Permalink
  20. abstract def isEmpty: Boolean

    Permalink
    Definition Classes
    LevelRef
  21. abstract def isTrash: Boolean

    Permalink
    Definition Classes
    LevelRef
  22. abstract def isUnreserved(segment: Segment): Boolean

    Permalink
  23. abstract def isUnreserved(minKey: Slice[Byte], maxKey: Slice[Byte], maxKeyInclusive: Boolean): Boolean

    Permalink
  24. abstract def isZero: Boolean

    Permalink
    Definition Classes
    LevelRef
  25. abstract def keyValueCount: Int

    Permalink
    Definition Classes
    LevelRef
  26. abstract def last(readState: ThreadReadState): PutOption

    Permalink
    Definition Classes
    LevelRef
  27. abstract def lastKey(readState: ThreadReadState): SliceOption[Byte]

    Permalink
    Definition Classes
    LevelRef
  28. abstract def lastSegmentId: Option[Long]

    Permalink
  29. abstract def levelNumber: Int

    Permalink
    Definition Classes
    LevelRef
  30. abstract def levelSize: Long

    Permalink
  31. abstract def lower(key: Slice[Byte], readState: ThreadReadState): PutOption

    Permalink
    Definition Classes
    LevelRef
  32. abstract def meter: LevelMeter

    Permalink
  33. abstract def meterFor(levelNumber: Int): Option[LevelMeter]

    Permalink
    Definition Classes
    LevelRef
  34. abstract def mightContainFunction(key: Slice[Byte]): Boolean

    Permalink
  35. abstract def mightContainKey(key: Slice[Byte]): Boolean

    Permalink
    Definition Classes
    LevelRef
  36. abstract def minSegmentSize: Int

    Permalink
  37. abstract def nextCompactionDelay: FiniteDuration

    Permalink
    Definition Classes
    LevelRef
  38. abstract def nextLevel: Option[NextLevel]

    Permalink
    Definition Classes
    LevelRef
  39. abstract def nextThrottlePushCount: Int

    Permalink
  40. abstract def optimalSegmentsPushForward(take: Int): (Iterable[Segment], Iterable[Segment])

    Permalink
  41. abstract def optimalSegmentsToCollapse(take: Int): Iterable[Segment]

    Permalink
  42. abstract def partitionUnreservedCopyable(segments: Iterable[Segment]): (Iterable[Segment], Iterable[Segment])

    Permalink
  43. abstract def pathDistributor: PathsDistributor

    Permalink
  44. abstract def put(segments: Iterable[Segment]): IO[Promise[Unit], IO[Error.Level, Set[Int]]]

    Permalink
  45. abstract def put(map: Map[SliceOption[Byte], MemoryOption, Slice[Byte], Memory]): IO[Promise[Unit], IO[Error.Level, Set[Int]]]

    Permalink
  46. abstract def put(segment: Segment): IO[Promise[Unit], IO[Error.Level, Set[Int]]]

    Permalink
  47. abstract def refresh(segment: Segment): IO[Promise[Unit], IO[Error.Level, Unit]]

    Permalink
  48. abstract def releaseLocks: IO[Close, Unit]

    Permalink
    Definition Classes
    LevelRef
  49. abstract def removeSegments(segments: Iterable[Segment]): IO[Error.Level, Int]

    Permalink
  50. abstract def rootPath: Path

    Permalink
    Definition Classes
    LevelRef
  51. abstract def segmentFilesOnDisk: Seq[Path]

    Permalink
    Definition Classes
    LevelRef
  52. abstract def segmentsCount(): Int

    Permalink
    Definition Classes
    LevelRef
  53. abstract def segmentsInLevel(): Iterable[Segment]

    Permalink
  54. abstract def sizeOfSegments: Long

    Permalink
    Definition Classes
    LevelRef
  55. abstract def stateId: Long

    Permalink
    Definition Classes
    LevelRef
  56. abstract def take(count: Int): Slice[Segment]

    Permalink
  57. abstract def takeLargeSegments(size: Int): Iterable[Segment]

    Permalink
  58. abstract def takeSegments(size: Int, condition: (Segment) ⇒ Boolean): Iterable[Segment]

    Permalink
  59. abstract def takeSmallSegments(size: Int): Iterable[Segment]

    Permalink
  60. abstract def throttle: (LevelMeter) ⇒ Throttle

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def foldLeftLevels[T](initial: T)(f: (T, LevelRef) ⇒ T): T

    Permalink
    Definition Classes
    LevelRef
  10. def foldRightLevels[T](initial: T)(f: (T, LevelRef) ⇒ T): T

    Permalink
    Definition Classes
    LevelRef
  11. def foreachLevel[T](f: (LevelRef) ⇒ T): Unit

    Permalink
    Definition Classes
    LevelRef
  12. def foreachRightLevel[T](f: (LevelRef) ⇒ T): Unit

    Permalink
    Definition Classes
    LevelRef
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def mapLevels[T](f: (LevelRef) ⇒ T): Iterable[T]

    Permalink
    Definition Classes
    LevelRef
  17. def mapRightLevels[T](f: (LevelRef) ⇒ T): Iterable[T]

    Permalink
    Definition Classes
    LevelRef
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def reverseLevels: ListBuffer[LevelRef]

    Permalink
    Definition Classes
    LevelRef
  22. def reverseNextLevels: ListBuffer[NextLevel]

    Permalink
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LevelRef

Inherited from AnyRef

Inherited from Any

Ungrouped