Packages

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. Protected

Abstract Value Members

  1. abstract def appendixPath: Path
    Definition Classes
    LevelRef
  2. abstract def ceiling(key: Slice[Byte], readState: ThreadReadState): PutOption
    Definition Classes
    LevelRef
  3. abstract def close[BAG[_]]()(implicit bag: Bag[BAG]): BAG[Unit]
    Definition Classes
    LevelRef
  4. abstract def closeNoSweep: IO[Error.Level, Unit]
    Definition Classes
    LevelRef
  5. abstract def closeNoSweepNoRelease(): IO[Error.Level, Unit]
  6. abstract def closeSegments(): IO[Error.Level, Unit]
    Definition Classes
    LevelRef
  7. abstract def collapse(segments: Iterable[Segment]): IO[Promise[Unit], IO[Error.Level, Int]]
  8. abstract def containsSegmentWithMinKey(minKey: Slice[Byte]): Boolean
    Definition Classes
    LevelRef
  9. abstract def delete[BAG[_]]()(implicit bag: Bag[BAG]): BAG[Unit]
    Definition Classes
    LevelRef
  10. abstract def deleteNoSweep: IO[Error.Level, Unit]
  11. abstract def deleteNoSweepNoClose(): IO[Error.Level, Unit]
  12. abstract def existsOnDisk: Boolean
    Definition Classes
    LevelRef
  13. abstract def floor(key: Slice[Byte], readState: ThreadReadState): PutOption
    Definition Classes
    LevelRef
  14. abstract def foreachSegment[T](f: (Slice[Byte], Segment) => T): Unit
    Definition Classes
    LevelRef
  15. abstract def get(key: Slice[Byte], readState: ThreadReadState): PutOption
    Definition Classes
    LevelRef
  16. abstract def getSegment(minKey: Slice[Byte]): SegmentOption
    Definition Classes
    LevelRef
  17. abstract def hasNextLevel: Boolean
    Definition Classes
    LevelRef
  18. abstract def head(readState: ThreadReadState): PutOption
    Definition Classes
    LevelRef
  19. abstract def headKey(readState: ThreadReadState): SliceOption[Byte]
    Definition Classes
    LevelRef
  20. abstract def higher(key: Slice[Byte], readState: ThreadReadState): PutOption
    Definition Classes
    LevelRef
  21. abstract def inMemory: Boolean
    Definition Classes
    LevelRef
  22. abstract def isCopyable(map: Map[Slice[Byte], Memory, LevelZeroMapCache]): Boolean
  23. abstract def isCopyable(minKey: Slice[Byte], maxKey: Slice[Byte], maxKeyInclusive: Boolean): Boolean
  24. abstract def isEmpty: Boolean
    Definition Classes
    LevelRef
  25. abstract def isTrash: Boolean
    Definition Classes
    LevelRef
  26. abstract def isUnreserved(segment: Segment): Boolean
  27. abstract def isUnreserved(minKey: Slice[Byte], maxKey: Slice[Byte], maxKeyInclusive: Boolean): Boolean
  28. abstract def isZero: Boolean
    Definition Classes
    LevelRef
  29. abstract def keyValueCount: Int
    Definition Classes
    LevelRef
  30. abstract def last(readState: ThreadReadState): PutOption
    Definition Classes
    LevelRef
  31. abstract def lastKey(readState: ThreadReadState): SliceOption[Byte]
    Definition Classes
    LevelRef
  32. abstract def lastSegmentId: Option[Long]
  33. abstract def levelNumber: Int
    Definition Classes
    LevelRef
  34. abstract def levelSize: Long
  35. abstract def lower(key: Slice[Byte], readState: ThreadReadState): PutOption
    Definition Classes
    LevelRef
  36. abstract def meter: LevelMeter
  37. abstract def meterFor(levelNumber: Int): Option[LevelMeter]
    Definition Classes
    LevelRef
  38. abstract def mightContainFunction(key: Slice[Byte]): Boolean
  39. abstract def mightContainKey(key: Slice[Byte]): Boolean
    Definition Classes
    LevelRef
  40. abstract def minSegmentSize: Int
  41. abstract def nextCompactionDelay: FiniteDuration
    Definition Classes
    LevelRef
  42. abstract def nextLevel: Option[NextLevel]
    Definition Classes
    LevelRef
  43. abstract def nextThrottlePushCount: Int
  44. abstract def optimalSegmentsPushForward(take: Int): (Iterable[Segment], Iterable[Segment])
  45. abstract def optimalSegmentsToCollapse(take: Int): Iterable[Segment]
  46. abstract def partitionUnreservedCopyable(segments: Iterable[Segment]): (Iterable[Segment], Iterable[Segment])
  47. abstract def pathDistributor: PathsDistributor
  48. abstract def put(segments: Iterable[Segment]): IO[Promise[Unit], IO[Error.Level, Set[Int]]]
  49. abstract def put(map: Map[Slice[Byte], Memory, LevelZeroMapCache]): IO[Promise[Unit], IO[Error.Level, Set[Int]]]
  50. abstract def put(segment: Segment): IO[Promise[Unit], IO[Error.Level, Set[Int]]]
  51. abstract def refresh(segment: Segment): IO[Promise[Unit], IO[Error.Level, Unit]]
  52. abstract def releaseLocks: IO[Close, Unit]
    Definition Classes
    LevelRef
  53. abstract def removeSegments(segments: Iterable[Segment]): IO[Error.Level, Int]
  54. abstract def rootPath: Path
    Definition Classes
    LevelRef
  55. abstract def segmentFilesOnDisk: Seq[Path]
    Definition Classes
    LevelRef
  56. abstract def segmentsCount(): Int
    Definition Classes
    LevelRef
  57. abstract def segmentsInLevel(): Iterable[Segment]
  58. abstract def sizeOfSegments: Long
    Definition Classes
    LevelRef
  59. abstract def stateId: Long
    Definition Classes
    LevelRef
  60. abstract def take(count: Int): Slice[Segment]
  61. abstract def takeLargeSegments(size: Int): Iterable[Segment]
  62. abstract def takeSegments(size: Int, condition: (Segment) => Boolean): Iterable[Segment]
  63. abstract def takeSmallSegments(size: Int): Iterable[Segment]
  64. abstract def throttle: (LevelMeter) => Throttle

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. def foldLeftLevels[T](initial: T)(f: (T, LevelRef) => T): T
    Definition Classes
    LevelRef
  10. def foldRightLevels[T](initial: T)(f: (T, LevelRef) => T): T
    Definition Classes
    LevelRef
  11. def foreachLevel[T](f: (LevelRef) => T): Unit
    Definition Classes
    LevelRef
  12. def foreachRightLevel[T](f: (LevelRef) => T): Unit
    Definition Classes
    LevelRef
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hasMMAP: Boolean
    Definition Classes
    LevelRef
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def mapLevels[T](f: (LevelRef) => T): Iterable[T]
    Definition Classes
    LevelRef
  18. def mapRightLevels[T](f: (LevelRef) => T): Iterable[T]
    Definition Classes
    LevelRef
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def reverseLevels: ListBuffer[LevelRef]
    Definition Classes
    LevelRef
  23. def reverseNextLevels: ListBuffer[NextLevel]
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from LevelRef

Inherited from AnyRef

Inherited from Any

Ungrouped