Packages

trait PersistenceProbe[T] extends AnyRef

Not for user extension

Annotations
@DoNotInherit()
Source
UnpersistentBehavior.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PersistenceProbe
  2. AnyRef
  3. 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

Abstract Value Members

  1. abstract def drain(): Seq[PersistenceEffect[T]]

    Collect all persistence effects from the probe and empty the probe

  2. abstract def expectPersisted(obj: T, tags: Set[String]): PersistenceProbe[T]

    Assert that the given object was persisted with the given tags in the oldest persistence effect and remove that persistence effect.

    Assert that the given object was persisted with the given tags in the oldest persistence effect and remove that persistence effect. If the persistence effect has tags which are not given, the assertion fails.

  3. abstract def expectPersisted(obj: T, tag: String): PersistenceProbe[T]

    Assert that the given object was persisted with the given tag in the oldest persistence effect and remove that persistence effect.

    Assert that the given object was persisted with the given tag in the oldest persistence effect and remove that persistence effect. If the persistence effect has multiple tags, only one of them has to match in order for the assertion to succeed.

  4. abstract def expectPersisted(obj: T): PersistenceProbe[T]

    Assert that the given object was persisted in the oldest persistence effect and remove that persistence effect

  5. abstract def expectPersistedType[S <: T]()(implicit arg0: ClassTag[S]): PersistenceEffect[S]

    Get and remove the oldest persistence effect from the probe, failing if the persisted object is not of the requested type

  6. abstract def extract(): PersistenceEffect[T]

    Get and remove the oldest persistence effect from the probe

  7. abstract def hasEffects: Boolean

    Are there any persistence effects?