Packages

sealed trait InMemStorage[K, R] extends InternalReprSupport[R]

INTERNAL API

Annotations
@InternalApi()
Source
TestKitStorage.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InMemStorage
  2. InternalReprSupport
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type InternalRepr
    Definition Classes
    InternalReprSupport

Abstract Value Members

  1. abstract def reprToSeqNum(repr: R): Long

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from InMemStorage[K, R] toany2stringadd[InMemStorage[K, R]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (InMemStorage[K, R], B)
    Implicit
    This member is added by an implicit conversion from InMemStorage[K, R] toArrowAssoc[InMemStorage[K, R]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def add(key: K, elems: Seq[R]): Unit

    Adds elements ordered by seqnum, sets new seqnum as max(old, max(newElemsSeqNums)))

  7. def add(key: K, p: R): Unit
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clearAll(): Unit
  10. def clearAllPreservingSeqNumbers(): Unit
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  12. def delete(key: K, needsToBeDeleted: (R) => Boolean): Vector[R]

    Deletes elements preserving highest sequence number.

  13. def deleteToSeqNumber(key: K, toSeqNumberInclusive: Long): Unit
  14. def ensuring(cond: (InMemStorage[K, R]) => Boolean, msg: => Any): InMemStorage[K, R]
    Implicit
    This member is added by an implicit conversion from InMemStorage[K, R] toEnsuring[InMemStorage[K, R]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (InMemStorage[K, R]) => Boolean): InMemStorage[K, R]
    Implicit
    This member is added by an implicit conversion from InMemStorage[K, R] toEnsuring[InMemStorage[K, R]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: => Any): InMemStorage[K, R]
    Implicit
    This member is added by an implicit conversion from InMemStorage[K, R] toEnsuring[InMemStorage[K, R]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): InMemStorage[K, R]
    Implicit
    This member is added by an implicit conversion from InMemStorage[K, R] toEnsuring[InMemStorage[K, R]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  20. def findMany(key: K, fromInclusive: Int, maxNum: Int): Option[Vector[R]]
  21. def findOneByIndex(key: K, index: Int): Option[R]
  22. def firstInExpectNextQueue(key: K): Option[R]
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  24. def getHighestSeqNumber(key: K): Long
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def keys(): Seq[K]
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  31. def read(key: K, fromInclusive: Long, toInclusive: Long, maxNumber: Long): Seq[R]

    Reads elems within the range of seqnums.

  32. def read(key: K): Option[Vector[R]]
  33. def readAll(): Iterable[R]
  34. def removeFirstInExpectNextQueue(key: K): Unit
  35. def removeKey(key: K): Vector[R]

    Removes key and the whole value including seqnum.

  36. def removePreservingSeqNumber(key: K): Unit
  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. def updateOrSetNew(key: K, updater: (Vector[R]) => Vector[R]): Vector[R]

    Sets new elements returned by updater ordered by seqnum.

    Sets new elements returned by updater ordered by seqnum. Sets new seqnum as max(old, max(newElemsFromUpdaterSeqNums))

  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from InMemStorage[K, R] toStringFormat[InMemStorage[K, R]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (InMemStorage[K, R], B)
    Implicit
    This member is added by an implicit conversion from InMemStorage[K, R] toArrowAssoc[InMemStorage[K, R]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from InternalReprSupport[R]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromInMemStorage[K, R] to any2stringadd[InMemStorage[K, R]]

Inherited by implicit conversion StringFormat fromInMemStorage[K, R] to StringFormat[InMemStorage[K, R]]

Inherited by implicit conversion Ensuring fromInMemStorage[K, R] to Ensuring[InMemStorage[K, R]]

Inherited by implicit conversion ArrowAssoc fromInMemStorage[K, R] to ArrowAssoc[InMemStorage[K, R]]

Ungrouped