Packages

class PersistenceTestKit extends PersistenceTestKitOps[PersistentRepr, JournalOperation] with ExpectOps[PersistentRepr] with HasStorage[JournalOperation, PersistentRepr]

Class for testing events of persistent actors.

NOTE! ActorSystem must be configured with PersistenceTestKitPlugin. The configuration can be retrieved with PersistenceTestKitPlugin.config.

Annotations
@ApiMayChange()
Source
PersistenceTestKit.scala
Linear Supertypes
HasStorage[JournalOperation, PersistentRepr], ExpectOps[PersistentRepr], PersistenceTestKitOps[PersistentRepr, JournalOperation], CommonTestKitOps[PersistentRepr, JournalOperation], PolicyOpsTestKit[JournalOperation], ClearOps, ClearPreservingSeqNums, RejectSupport[JournalOperation], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PersistenceTestKit
  2. HasStorage
  3. ExpectOps
  4. PersistenceTestKitOps
  5. CommonTestKitOps
  6. PolicyOpsTestKit
  7. ClearOps
  8. ClearPreservingSeqNums
  9. RejectSupport
  10. AnyRef
  11. 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

Instance Constructors

  1. new PersistenceTestKit(system: ActorSystem)

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 PersistenceTestKit toany2stringadd[PersistenceTestKit] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (PersistenceTestKit, B)
    Implicit
    This member is added by an implicit conversion from PersistenceTestKit toArrowAssoc[PersistenceTestKit] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clearAll(): Unit

    Clear all data from the storage.

    Clear all data from the storage.

    NOTE! Also clears sequence numbers in storage!

    Definition Classes
    ClearOps
    See also

    ClearPreservingSeqNums.clearAllPreservingSeqNumbers()

  8. def clearAllPreservingSeqNumbers(): Unit

    Clear all data in the storage preserving sequence numbers.

    Clear all data in the storage preserving sequence numbers.

    Definition Classes
    ClearPreservingSeqNums
    See also

    ClearOps.clearAll()

  9. def clearByIdPreservingSeqNumbers(persistenceId: String): Unit

    Clear all data in the storage for particular persistence id preserving sequence numbers.

    Clear all data in the storage for particular persistence id preserving sequence numbers.

    Definition Classes
    ClearPreservingSeqNums
    See also

    ClearOps.clearByPersistenceId()

  10. def clearByPersistenceId(persistenceId: String): Unit

    Clear all data from the storage for particular persistence id.

    Clear all data from the storage for particular persistence id.

    NOTE! Also clears sequence number in the storage!

    Definition Classes
    ClearOps
    See also

    ClearPreservingSeqNums.clearByIdPreservingSeqNumbers()

  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  12. def ensuring(cond: (PersistenceTestKit) => Boolean, msg: => Any): PersistenceTestKit
    Implicit
    This member is added by an implicit conversion from PersistenceTestKit toEnsuring[PersistenceTestKit] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (PersistenceTestKit) => Boolean): PersistenceTestKit
    Implicit
    This member is added by an implicit conversion from PersistenceTestKit toEnsuring[PersistenceTestKit] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: => Any): PersistenceTestKit
    Implicit
    This member is added by an implicit conversion from PersistenceTestKit toEnsuring[PersistenceTestKit] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): PersistenceTestKit
    Implicit
    This member is added by an implicit conversion from PersistenceTestKit toEnsuring[PersistenceTestKit] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. def expectNextPersisted[A](persistenceId: String, event: A, max: FiniteDuration): A

    Check for max time that next persisted in storage for particular persistence id event/snapshot was event.

    Check for max time that next persisted in storage for particular persistence id event/snapshot was event.

    Definition Classes
    ExpectOps
  19. def expectNextPersisted[A](persistenceId: String, event: A): A

    Check that next persisted in storage for particular persistence id event/snapshot was event.

    Check that next persisted in storage for particular persistence id event/snapshot was event.

    Definition Classes
    ExpectOps
  20. def expectNextPersistedClass[A](persistenceId: String, cla: Class[A], max: FiniteDuration): A

    Check for max time that next persisted in storage for particular persistence id event/snapshot has expected type.

    Check for max time that next persisted in storage for particular persistence id event/snapshot has expected type.

    Definition Classes
    ExpectOps
  21. def expectNextPersistedClass[A](persistenceId: String, cla: Class[A]): A

    Check that next persisted in storage for particular persistence id event/snapshot has expected type.

    Check that next persisted in storage for particular persistence id event/snapshot has expected type.

    Definition Classes
    ExpectOps
  22. def expectNextPersistedType[A](persistenceId: String, max: FiniteDuration)(implicit t: ClassTag[A]): A

    Check for max time that next persisted in storage for particular persistence id event/snapshot has expected type.

    Check for max time that next persisted in storage for particular persistence id event/snapshot has expected type.

    Definition Classes
    ExpectOps
  23. def expectNextPersistedType[A](persistenceId: String)(implicit t: ClassTag[A]): A

    Check that next persisted in storage for particular persistence id event/snapshot has expected type.

    Check that next persisted in storage for particular persistence id event/snapshot has expected type.

    Definition Classes
    ExpectOps
  24. def expectNothingPersisted(persistenceId: String, max: FiniteDuration): Unit

    Check for max time that nothing was persisted in storage for particular persistence id.

    Check for max time that nothing was persisted in storage for particular persistence id.

    Definition Classes
    ExpectOps
  25. def expectNothingPersisted(persistenceId: String): Unit

    Check that nothing was persisted in storage for particular persistence id.

    Check that nothing was persisted in storage for particular persistence id.

    Definition Classes
    ExpectOps
  26. def failNextDelete(persistenceId: String): Unit

    Fail next delete from storage attempt with default exception for particular persistence id.

    Fail next delete from storage attempt with default exception for particular persistence id.

    Definition Classes
    CommonTestKitOps
  27. def failNextDelete(persistenceId: String, cause: Throwable): Unit

    Fail next delete from storage attempt with cause exception for particular persistence id.

    Fail next delete from storage attempt with cause exception for particular persistence id.

    Definition Classes
    CommonTestKitOps
  28. def failNextDelete(): Unit

    Fail next delete from storage attempt with default exception for any persistence id.

    Fail next delete from storage attempt with default exception for any persistence id.

    Definition Classes
    CommonTestKitOps
  29. def failNextDelete(cause: Throwable): Unit

    Fail next delete from storage attempt with cause exception for any persistence id.

    Fail next delete from storage attempt with cause exception for any persistence id.

    Definition Classes
    CommonTestKitOps
  30. def failNextNDeletes(persistenceId: String, n: Int, cause: Throwable): Unit

    Fail next n delete from storage attempts with cause exception for particular persistence id.

    Fail next n delete from storage attempts with cause exception for particular persistence id.

    Definition Classes
    PersistenceTestKit → CommonTestKitOps
  31. def failNextNDeletes(n: Int, cause: Throwable): Unit

    Fail next n delete from storage attempts with cause exception for any persistence id.

    Fail next n delete from storage attempts with cause exception for any persistence id.

    Definition Classes
    PersistenceTestKit → CommonTestKitOps
  32. def failNextNDeletes(persistenceId: String, n: Int): Unit

    Fail next n delete from storage attempts with default exception for particular persistence id.

    Fail next n delete from storage attempts with default exception for particular persistence id.

    Definition Classes
    CommonTestKitOps
  33. def failNextNDeletes(n: Int): Unit

    Fail next n delete from storage attempts with default exception for any persistence id.

    Fail next n delete from storage attempts with default exception for any persistence id.

    Definition Classes
    CommonTestKitOps
  34. def failNextNOps(n: Int, cause: Throwable): Unit

    Fail n following journal operations regardless of their type.

    Fail n following journal operations regardless of their type. Fails operations with the cause exception.

    Definition Classes
    PolicyOpsTestKit
  35. def failNextNOps(n: Int): Unit

    Fail n following journal operations regardless of their type.

    Fail n following journal operations regardless of their type. Fails operations with default ExpectedFailure exception.

    Definition Classes
    PolicyOpsTestKit
  36. def failNextNOpsCond(cond: (String, JournalOperation) => Boolean, n: Int, cause: Throwable): Unit

    Fail n following journal operations depending on the condition cond.

    Fail n following journal operations depending on the condition cond. Failure triggers, when cond returns true. Fails operations with the cause exception.

    Definition Classes
    PolicyOpsTestKit
  37. def failNextNOpsCond(cond: (String, JournalOperation) => Boolean, n: Int): Unit

    Fail n following journal operations depending on the condition cond.

    Fail n following journal operations depending on the condition cond. Failure triggers, when cond returns true. Fails operations with default ExpectedFailure exception.

    Definition Classes
    PolicyOpsTestKit
  38. def failNextNPersisted(n: Int, cause: Throwable): Unit

    Fail next n write operations with the cause exception for any persistence id.

    Fail next n write operations with the cause exception for any persistence id.

    Definition Classes
    PersistenceTestKit → CommonTestKitOps
  39. def failNextNPersisted(persistenceId: String, n: Int, cause: Throwable): Unit

    Fail next n write operations with the cause exception for particular persistence id.

    Fail next n write operations with the cause exception for particular persistence id.

    Definition Classes
    PersistenceTestKit → CommonTestKitOps
  40. def failNextNPersisted(n: Int): Unit

    Fail next n write operations with default exception for any persistence id.

    Fail next n write operations with default exception for any persistence id.

    Definition Classes
    CommonTestKitOps
  41. def failNextNPersisted(persistenceId: String, n: Int): Unit

    Fail next n write operations for particular persistence id.

    Fail next n write operations for particular persistence id.

    Definition Classes
    CommonTestKitOps
  42. def failNextNReads(persistenceId: String, n: Int, cause: Throwable): Unit

    Fail next n read from storage (recovery) attempts with cause exception for particular persistence id.

    Fail next n read from storage (recovery) attempts with cause exception for particular persistence id.

    Definition Classes
    PersistenceTestKit → CommonTestKitOps
  43. def failNextNReads(n: Int, cause: Throwable): Unit

    Fail next n read from storage (recovery) attempts with cause exception for any persistence id.

    Fail next n read from storage (recovery) attempts with cause exception for any persistence id.

    Definition Classes
    PersistenceTestKit → CommonTestKitOps
  44. def failNextNReads(persistenceId: String, n: Int): Unit

    Fail next n read from storage (recovery) attempts with default exception for particular persistence id.

    Fail next n read from storage (recovery) attempts with default exception for particular persistence id.

    Definition Classes
    CommonTestKitOps
  45. def failNextNReads(n: Int): Unit

    Fail next n read from storage (recovery) attempts with default exception for any persistence id.

    Fail next n read from storage (recovery) attempts with default exception for any persistence id.

    Definition Classes
    CommonTestKitOps
  46. def failNextPersisted(): Unit

    Fail next write operation with default exception for any persistence id.

    Fail next write operation with default exception for any persistence id.

    Definition Classes
    CommonTestKitOps
  47. def failNextPersisted(cause: Throwable): Unit

    Fail next write operation with cause exception for any persistence id.

    Fail next write operation with cause exception for any persistence id.

    Definition Classes
    CommonTestKitOps
  48. def failNextPersisted(persistenceId: String): Unit

    Fail next write operation with default exception for particular persistence id.

    Fail next write operation with default exception for particular persistence id.

    Definition Classes
    CommonTestKitOps
  49. def failNextPersisted(persistenceId: String, cause: Throwable): Unit

    Fail next write operation with cause exception for particular persistence id.

    Fail next write operation with cause exception for particular persistence id.

    Definition Classes
    CommonTestKitOps
  50. def failNextRead(persistenceId: String): Unit

    Fail next read from storage (recovery) attempt with default exception for any persistence id.

    Fail next read from storage (recovery) attempt with default exception for any persistence id.

    Definition Classes
    CommonTestKitOps
  51. def failNextRead(persistenceId: String, cause: Throwable): Unit

    Fail next read from storage (recovery) attempt with cause exception for particular persistence id.

    Fail next read from storage (recovery) attempt with cause exception for particular persistence id.

    Definition Classes
    CommonTestKitOps
  52. def failNextRead(): Unit

    Fail next read from storage (recovery) attempt with default exception for any persistence id.

    Fail next read from storage (recovery) attempt with default exception for any persistence id.

    Definition Classes
    CommonTestKitOps
  53. def failNextRead(cause: Throwable): Unit

    Fail next read from storage (recovery) attempt with cause exception for any persistence id.

    Fail next read from storage (recovery) attempt with cause exception for any persistence id.

    Definition Classes
    CommonTestKitOps
  54. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from PersistenceTestKit toStringFormat[PersistenceTestKit] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  55. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  56. def getItem(persistenceId: String, nextInd: Int): Option[Any]
    Definition Classes
    ExpectOps
  57. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  58. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  59. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  60. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  61. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  62. def persistForRecovery(persistenceId: String, events: Seq[Any]): Unit

    Persist snapshots into storage in order.

    Persist snapshots into storage in order.

    Definition Classes
    PersistenceTestKit → PersistenceTestKitOps
  63. def persistedInStorage(persistenceId: String): Seq[Any]

    Retrieve all snapshots saved in storage by persistence id.

    Retrieve all snapshots saved in storage by persistence id.

    Definition Classes
    PersistenceTestKit → PersistenceTestKitOps
  64. def receivePersisted[A](persistenceId: String, n: Int, cla: Class[A], max: FiniteDuration): Seq[A]

    Receive for max time next n events/snapshots that have been persisted in the storage.

    Receive for max time next n events/snapshots that have been persisted in the storage.

    Definition Classes
    ExpectOps
  65. def receivePersisted[A](persistenceId: String, n: Int, cla: Class[A]): Seq[A]

    Receive next n events/snapshots that have been persisted in the storage.

    Receive next n events/snapshots that have been persisted in the storage.

    Definition Classes
    ExpectOps
  66. def receivePersisted[A](persistenceId: String, n: Int)(implicit t: ClassTag[A]): Seq[A]

    Receive next n events/snapshots that have been persisted in the storage.

    Receive next n events/snapshots that have been persisted in the storage.

    Definition Classes
    ExpectOps
  67. def receivePersisted[A](persistenceId: String, n: Int, max: FiniteDuration)(implicit t: ClassTag[A]): Seq[A]

    Receive for max time next n events/snapshots that have been persisted in the storage.

    Receive for max time next n events/snapshots that have been persisted in the storage.

    Definition Classes
    ExpectOps
  68. def rejectNextDelete(persistenceId: String, cause: Throwable): Unit

    Reject next delete from storage operations for particular persistence id with cause exception.

    Reject next delete from storage operations for particular persistence id with cause exception.

    Definition Classes
    PersistenceTestKitOps
  69. def rejectNextDelete(persistenceId: String): Unit

    Reject next delete from storage operations for particular persistence id with default exception.

    Reject next delete from storage operations for particular persistence id with default exception.

    Definition Classes
    PersistenceTestKitOps
  70. def rejectNextDelete(cause: Throwable): Unit

    Reject next delete from storage operation for any persistence id with cause exception.

    Reject next delete from storage operation for any persistence id with cause exception.

    Definition Classes
    PersistenceTestKitOps
  71. def rejectNextDelete(): Unit

    Reject next delete from storage operation for any persistence id with default exception.

    Reject next delete from storage operation for any persistence id with default exception.

    Definition Classes
    PersistenceTestKitOps
  72. def rejectNextNDeletes(persistenceId: String, n: Int, cause: Throwable): Unit

    Reject next n delete from storage operations for particular persistence id with cause exception.

    Reject next n delete from storage operations for particular persistence id with cause exception.

    Definition Classes
    PersistenceTestKit → PersistenceTestKitOps
  73. def rejectNextNDeletes(n: Int, cause: Throwable): Unit

    Reject next n delete from storage operations for any persistence id with cause exception.

    Reject next n delete from storage operations for any persistence id with cause exception.

    Definition Classes
    PersistenceTestKit → PersistenceTestKitOps
  74. def rejectNextNDeletes(persistenceId: String, n: Int): Unit

    Reject next n delete from storage operations for particular persistence id with default exception.

    Reject next n delete from storage operations for particular persistence id with default exception.

    Definition Classes
    PersistenceTestKitOps
  75. def rejectNextNDeletes(n: Int): Unit

    Reject next n delete from storage operations for any persistence id with default exception.

    Reject next n delete from storage operations for any persistence id with default exception.

    Definition Classes
    PersistenceTestKitOps
  76. def rejectNextNOps(n: Int, cause: Throwable): Unit

    Reject n following journal operations regardless of their type.

    Reject n following journal operations regardless of their type. Rejects operations with the cause exception.

    Definition Classes
    RejectSupport
  77. def rejectNextNOps(n: Int): Unit

    Reject n following journal operations regardless of their type.

    Reject n following journal operations regardless of their type. Rejects operations with default ExpectedRejection exception.

    Definition Classes
    RejectSupport
  78. def rejectNextNOpsCond(cond: (String, JournalOperation) => Boolean, n: Int, cause: Throwable): Unit

    Reject n following journal operations depending on the condition cond.

    Reject n following journal operations depending on the condition cond. Rejection triggers, when cond returns true. Rejects operations with the cause exception.

    Definition Classes
    RejectSupport
  79. def rejectNextNOpsCond(cond: (String, JournalOperation) => Boolean, n: Int): Unit

    Reject n following journal operations depending on the condition cond.

    Reject n following journal operations depending on the condition cond. Rejection triggers, when cond returns true. Reject operations with default ExpectedRejection exception.

    Definition Classes
    RejectSupport
  80. def rejectNextNPersisted(n: Int, cause: Throwable): Unit

    Reject next n save in storage operations for any persistence id with cause exception.

    Reject next n save in storage operations for any persistence id with cause exception.

    Definition Classes
    PersistenceTestKit → PersistenceTestKitOps
  81. def rejectNextNPersisted(persistenceId: String, n: Int, cause: Throwable): Unit

    Reject next n save in storage operations for particular persistence id with cause exception.

    Reject next n save in storage operations for particular persistence id with cause exception.

    Definition Classes
    PersistenceTestKit → PersistenceTestKitOps
  82. def rejectNextNPersisted(n: Int): Unit

    Reject next n save in storage operations for any persistence id with default exception.

    Reject next n save in storage operations for any persistence id with default exception.

    Definition Classes
    PersistenceTestKitOps
  83. def rejectNextNPersisted(persistenceId: String, n: Int): Unit

    Reject next n save in storage operations for particular persistence id with default exception.

    Reject next n save in storage operations for particular persistence id with default exception.

    Definition Classes
    PersistenceTestKitOps
  84. def rejectNextNReads(persistenceId: String, n: Int, cause: Throwable): Unit

    Reject next n read from storage operations for particular persistence id with cause exception.

    Reject next n read from storage operations for particular persistence id with cause exception.

    Definition Classes
    PersistenceTestKit → PersistenceTestKitOps
  85. def rejectNextNReads(n: Int, cause: Throwable): Unit

    Reject next n read from storage operations for any persistence id with cause exception.

    Reject next n read from storage operations for any persistence id with cause exception.

    Definition Classes
    PersistenceTestKit → PersistenceTestKitOps
  86. def rejectNextNReads(persistenceId: String, n: Int): Unit

    Reject next n read from storage operations for particular persistence id with default exception.

    Reject next n read from storage operations for particular persistence id with default exception.

    Definition Classes
    PersistenceTestKitOps
  87. def rejectNextNReads(n: Int): Unit

    Reject next n read from storage operations for any persistence id with default exception.

    Reject next n read from storage operations for any persistence id with default exception.

    Definition Classes
    PersistenceTestKitOps
  88. def rejectNextPersisted(): Unit

    Reject next save in storage operation for any persistence id with default exception.

    Reject next save in storage operation for any persistence id with default exception.

    Definition Classes
    PersistenceTestKitOps
  89. def rejectNextPersisted(cause: Throwable): Unit

    Reject next save in storage operation for any persistence id with cause exception.

    Reject next save in storage operation for any persistence id with cause exception.

    Definition Classes
    PersistenceTestKitOps
  90. def rejectNextPersisted(persistenceId: String, cause: Throwable): Unit

    Reject next save in storage operation for particular persistence id with cause exception.

    Reject next save in storage operation for particular persistence id with cause exception.

    Definition Classes
    PersistenceTestKitOps
  91. def rejectNextPersisted(persistenceId: String): Unit

    Reject next save in storage operation for particular persistence id with default exception.

    Reject next save in storage operation for particular persistence id with default exception.

    Definition Classes
    PersistenceTestKitOps
  92. def rejectNextRead(persistenceId: String, cause: Throwable): Unit

    Reject next read from storage operation for particular persistence id with cause exception.

    Reject next read from storage operation for particular persistence id with cause exception.

    Definition Classes
    PersistenceTestKitOps
  93. def rejectNextRead(persistenceId: String): Unit

    Reject next read from storage operation for particular persistence id with default exception.

    Reject next read from storage operation for particular persistence id with default exception.

    Definition Classes
    PersistenceTestKitOps
  94. def rejectNextRead(cause: Throwable): Unit

    Reject next read from storage operation for any persistence id with cause exception.

    Reject next read from storage operation for any persistence id with cause exception.

    Definition Classes
    PersistenceTestKitOps
  95. def rejectNextRead(): Unit

    Reject next read from storage operation for any persistence id with default exception.

    Reject next read from storage operation for any persistence id with default exception.

    Definition Classes
    PersistenceTestKitOps
  96. def resetPolicy(): Unit

    Returns default policy if it was changed by PolicyOpsTestKit.this.withPolicy().

    Returns default policy if it was changed by PolicyOpsTestKit.this.withPolicy().

    Definition Classes
    PolicyOpsTestKit
  97. val storage: EventStorage
    Attributes
    protected
    Definition Classes
    PersistenceTestKit → HasStorage
  98. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  99. def toString(): String
    Definition Classes
    AnyRef → Any
  100. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  101. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  102. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  103. def withPolicy(policy: EventStorage.JournalPolicies.PolicyType): PersistenceTestKit.this.type

    Set new processing policy for journal operations.

    Set new processing policy for journal operations. NOTE! Overrides previously invoked failNext... or rejectNext...

    Definition Classes
    PolicyOpsTestKit

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def [B](y: B): (PersistenceTestKit, B)
    Implicit
    This member is added by an implicit conversion from PersistenceTestKit toArrowAssoc[PersistenceTestKit] 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 HasStorage[JournalOperation, PersistentRepr]

Inherited from ExpectOps[PersistentRepr]

Inherited from PersistenceTestKitOps[PersistentRepr, JournalOperation]

Inherited from CommonTestKitOps[PersistentRepr, JournalOperation]

Inherited from PolicyOpsTestKit[JournalOperation]

Inherited from ClearOps

Inherited from ClearPreservingSeqNums

Inherited from RejectSupport[JournalOperation]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromPersistenceTestKit to any2stringadd[PersistenceTestKit]

Inherited by implicit conversion StringFormat fromPersistenceTestKit to StringFormat[PersistenceTestKit]

Inherited by implicit conversion Ensuring fromPersistenceTestKit to Ensuring[PersistenceTestKit]

Inherited by implicit conversion ArrowAssoc fromPersistenceTestKit to ArrowAssoc[PersistenceTestKit]

Ungrouped