Packages

class SequencerBenchmark extends HasExecutorServiceGeneric with TestEssentials with FlagCloseable with HasCloseContext

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SequencerBenchmark
  2. HasCloseContext
  3. PromiseUnlessShutdownFactory
  4. FlagCloseable
  5. PerformUnlessClosing
  6. OnShutdownRunner
  7. AutoCloseable
  8. TestEssentials
  9. ArgumentMatchersSugar
  10. MacroBasedMatchers
  11. NumericMatchers
  12. Tolerance
  13. FunctionMatchers
  14. NullMatchers
  15. StringThatMatchers
  16. ThatMatchers
  17. EqMatchers_VersionSpecific
  18. EqMatchers
  19. AnyMatchers
  20. MockitoSugar
  21. ScalacticSerialisableHack
  22. Rest
  23. Verifications
  24. DoSomething
  25. MockitoEnhancer
  26. MockCreator
  27. ScalaFuturesWithPatience
  28. ScalaFutures
  29. Futures
  30. PatienceConfiguration
  31. AbstractPatienceConfiguration
  32. ScaledTimeSpans
  33. HasExecutorServiceGeneric
  34. NamedLogging
  35. AnyRef
  36. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SequencerBenchmark()

Type Members

  1. class Env extends AutoCloseable with NamedLogging
    Annotations
    @SuppressWarnings()
  2. trait FutureConcept[T] extends AnyRef
    Definition Classes
    Futures
  3. final case class PatienceConfig extends Product with Serializable
    Definition Classes
    AbstractPatienceConfiguration
  4. final class PlusOrMinusWrapper[T] extends AnyRef
    Definition Classes
    Tolerance
  5. case class ReadState(memberId: SequencerMemberId, nextReadTimestamp: CantonTimestamp, lastBatchWasFull: Boolean = false) extends Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def *[T](implicit default: DefaultValueProvider[T]): T
    Definition Classes
    MacroBasedMatchers
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def after(millis: Int): VerificationAfterDelay
    Definition Classes
    Verifications
  6. def any[T](implicit default: DefaultValueProvider[T]): T
    Definition Classes
    MacroBasedMatchers
  7. def anyBoolean: Boolean
    Definition Classes
    AnyMatchers
  8. def anyByte: Byte
    Definition Classes
    AnyMatchers
  9. def anyChar: Char
    Definition Classes
    AnyMatchers
  10. def anyDouble: Double
    Definition Classes
    AnyMatchers
  11. def anyFloat: Float
    Definition Classes
    AnyMatchers
  12. def anyInt: Int
    Definition Classes
    AnyMatchers
  13. def anyIterable[T]: Iterable[T]
    Definition Classes
    AnyMatchers
  14. def anyList[T]: List[T]
    Definition Classes
    AnyMatchers
  15. def anyLong: Long
    Definition Classes
    AnyMatchers
  16. def anyMap[K, V]: Map[K, V]
    Definition Classes
    AnyMatchers
  17. def anySeq[T]: Seq[T]
    Definition Classes
    AnyMatchers
  18. def anySet[T]: Set[T]
    Definition Classes
    AnyMatchers
  19. def anyShort: Short
    Definition Classes
    AnyMatchers
  20. def anyTraceContext: TraceContext
    Definition Classes
    TestEssentials
  21. def argMatching[T](pf: PartialFunction[Any, Unit]): T
    Definition Classes
    ThatMatchers
  22. def argThat[T](f: (T) => Boolean, desc: => String): T
    Definition Classes
    ThatMatchers
  23. def argThat[T](matcher: ArgumentMatcher[T]): T
    Definition Classes
    ThatMatchers
  24. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  25. def atLeast(minNumberOfInvocations: Int): VerificationMode
    Definition Classes
    Verifications
  26. def atLeastOnce: VerificationMode
    Definition Classes
    Verifications
  27. def atMost(maxNumberOfInvocations: Int): VerificationMode
    Definition Classes
    Verifications
  28. def booleanThat(matcher: ArgumentMatcher[Boolean]): Boolean
    Definition Classes
    ThatMatchers
  29. def byteThat(matcher: ArgumentMatcher[Byte]): Byte
    Definition Classes
    ThatMatchers
  30. def calls(wantedNumberOfInvocations: Int): VerificationMode
    Definition Classes
    Verifications
  31. def cancelShutdownTask(token: Long): Unit

    Removes a shutdown task from the list using a token returned by runOnShutdown

    Removes a shutdown task from the list using a token returned by runOnShutdown

    Definition Classes
    OnShutdownRunner
  32. def charThat(matcher: ArgumentMatcher[Char]): Char
    Definition Classes
    ThatMatchers
  33. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  34. final def close(): Unit

    Blocks until all earlier tasks have completed and then prevents further tasks from being run.

    Blocks until all earlier tasks have completed and then prevents further tasks from being run.

    Definition Classes
    FlagCloseableOnShutdownRunner → AutoCloseable
  35. implicit val closeContext: CloseContext
    Definition Classes
    HasCloseContext
  36. def closeExecutor(): Unit
    Attributes
    protected
    Definition Classes
    HasExecutorServiceGeneric
  37. def closingTimeout: FiniteDuration
    Attributes
    protected
    Definition Classes
    FlagCloseablePerformUnlessClosing
  38. def contains(substring: String): String
    Definition Classes
    StringThatMatchers
  39. def containsShutdownTask(token: Long): Boolean
    Definition Classes
    OnShutdownRunner
  40. implicit def convertNumericToPlusOrMinusWrapper[T](pivot: T)(implicit arg0: Numeric[T]): PlusOrMinusWrapper[T]
    Definition Classes
    Tolerance
  41. implicit def convertScalaFuture[T](scalaFuture: Future[T]): FutureConcept[T]
    Definition Classes
    ScalaFutures
  42. implicit val defaultPatience: PatienceConfig
    Definition Classes
    TestEssentials → ScalaFuturesWithPatience
  43. lazy val defaultStaticDomainParameters: StaticDomainParameters
    Attributes
    protected
    Definition Classes
    TestEssentials
  44. lazy val directExecutionContext: ExecutionContext
    Definition Classes
    TestEssentials
  45. def doAnswer[P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, R](f: (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21) => R)(implicit arg0: ValueClassWrapper[P0], arg1: ValueClassWrapper[P1], arg2: ValueClassWrapper[P2], arg3: ValueClassWrapper[P3], arg4: ValueClassWrapper[P4], arg5: ValueClassWrapper[P5], arg6: ValueClassWrapper[P6], arg7: ValueClassWrapper[P7], arg8: ValueClassWrapper[P8], arg9: ValueClassWrapper[P9], arg10: ValueClassWrapper[P10], arg11: ValueClassWrapper[P11], arg12: ValueClassWrapper[P12], arg13: ValueClassWrapper[P13], arg14: ValueClassWrapper[P14], arg15: ValueClassWrapper[P15], arg16: ValueClassWrapper[P16], arg17: ValueClassWrapper[P17], arg18: ValueClassWrapper[P18], arg19: ValueClassWrapper[P19], arg20: ValueClassWrapper[P20], arg21: ValueClassWrapper[P21], arg22: ValueClassExtractor[R]): Stubber
    Definition Classes
    DoSomething
  46. def doAnswer[P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, R](f: (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20) => R)(implicit arg0: ValueClassWrapper[P0], arg1: ValueClassWrapper[P1], arg2: ValueClassWrapper[P2], arg3: ValueClassWrapper[P3], arg4: ValueClassWrapper[P4], arg5: ValueClassWrapper[P5], arg6: ValueClassWrapper[P6], arg7: ValueClassWrapper[P7], arg8: ValueClassWrapper[P8], arg9: ValueClassWrapper[P9], arg10: ValueClassWrapper[P10], arg11: ValueClassWrapper[P11], arg12: ValueClassWrapper[P12], arg13: ValueClassWrapper[P13], arg14: ValueClassWrapper[P14], arg15: ValueClassWrapper[P15], arg16: ValueClassWrapper[P16], arg17: ValueClassWrapper[P17], arg18: ValueClassWrapper[P18], arg19: ValueClassWrapper[P19], arg20: ValueClassWrapper[P20], arg21: ValueClassExtractor[R]): Stubber
    Definition Classes
    DoSomething
  47. def doAnswer[P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, R](f: (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19) => R)(implicit arg0: ValueClassWrapper[P0], arg1: ValueClassWrapper[P1], arg2: ValueClassWrapper[P2], arg3: ValueClassWrapper[P3], arg4: ValueClassWrapper[P4], arg5: ValueClassWrapper[P5], arg6: ValueClassWrapper[P6], arg7: ValueClassWrapper[P7], arg8: ValueClassWrapper[P8], arg9: ValueClassWrapper[P9], arg10: ValueClassWrapper[P10], arg11: ValueClassWrapper[P11], arg12: ValueClassWrapper[P12], arg13: ValueClassWrapper[P13], arg14: ValueClassWrapper[P14], arg15: ValueClassWrapper[P15], arg16: ValueClassWrapper[P16], arg17: ValueClassWrapper[P17], arg18: ValueClassWrapper[P18], arg19: ValueClassWrapper[P19], arg20: ValueClassExtractor[R]): Stubber
    Definition Classes
    DoSomething
  48. def doAnswer[P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, R](f: (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18) => R)(implicit arg0: ValueClassWrapper[P0], arg1: ValueClassWrapper[P1], arg2: ValueClassWrapper[P2], arg3: ValueClassWrapper[P3], arg4: ValueClassWrapper[P4], arg5: ValueClassWrapper[P5], arg6: ValueClassWrapper[P6], arg7: ValueClassWrapper[P7], arg8: ValueClassWrapper[P8], arg9: ValueClassWrapper[P9], arg10: ValueClassWrapper[P10], arg11: ValueClassWrapper[P11], arg12: ValueClassWrapper[P12], arg13: ValueClassWrapper[P13], arg14: ValueClassWrapper[P14], arg15: ValueClassWrapper[P15], arg16: ValueClassWrapper[P16], arg17: ValueClassWrapper[P17], arg18: ValueClassWrapper[P18], arg19: ValueClassExtractor[R]): Stubber
    Definition Classes
    DoSomething
  49. def doAnswer[P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, R](f: (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17) => R)(implicit arg0: ValueClassWrapper[P0], arg1: ValueClassWrapper[P1], arg2: ValueClassWrapper[P2], arg3: ValueClassWrapper[P3], arg4: ValueClassWrapper[P4], arg5: ValueClassWrapper[P5], arg6: ValueClassWrapper[P6], arg7: ValueClassWrapper[P7], arg8: ValueClassWrapper[P8], arg9: ValueClassWrapper[P9], arg10: ValueClassWrapper[P10], arg11: ValueClassWrapper[P11], arg12: ValueClassWrapper[P12], arg13: ValueClassWrapper[P13], arg14: ValueClassWrapper[P14], arg15: ValueClassWrapper[P15], arg16: ValueClassWrapper[P16], arg17: ValueClassWrapper[P17], arg18: ValueClassExtractor[R]): Stubber
    Definition Classes
    DoSomething
  50. def doAnswer[P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, R](f: (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16) => R)(implicit arg0: ValueClassWrapper[P0], arg1: ValueClassWrapper[P1], arg2: ValueClassWrapper[P2], arg3: ValueClassWrapper[P3], arg4: ValueClassWrapper[P4], arg5: ValueClassWrapper[P5], arg6: ValueClassWrapper[P6], arg7: ValueClassWrapper[P7], arg8: ValueClassWrapper[P8], arg9: ValueClassWrapper[P9], arg10: ValueClassWrapper[P10], arg11: ValueClassWrapper[P11], arg12: ValueClassWrapper[P12], arg13: ValueClassWrapper[P13], arg14: ValueClassWrapper[P14], arg15: ValueClassWrapper[P15], arg16: ValueClassWrapper[P16], arg17: ValueClassExtractor[R]): Stubber
    Definition Classes
    DoSomething
  51. def doAnswer[P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, R](f: (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) => R)(implicit arg0: ValueClassWrapper[P0], arg1: ValueClassWrapper[P1], arg2: ValueClassWrapper[P2], arg3: ValueClassWrapper[P3], arg4: ValueClassWrapper[P4], arg5: ValueClassWrapper[P5], arg6: ValueClassWrapper[P6], arg7: ValueClassWrapper[P7], arg8: ValueClassWrapper[P8], arg9: ValueClassWrapper[P9], arg10: ValueClassWrapper[P10], arg11: ValueClassWrapper[P11], arg12: ValueClassWrapper[P12], arg13: ValueClassWrapper[P13], arg14: ValueClassWrapper[P14], arg15: ValueClassWrapper[P15], arg16: ValueClassExtractor[R]): Stubber
    Definition Classes
    DoSomething
  52. def doAnswer[P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, R](f: (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) => R)(implicit arg0: ValueClassWrapper[P0], arg1: ValueClassWrapper[P1], arg2: ValueClassWrapper[P2], arg3: ValueClassWrapper[P3], arg4: ValueClassWrapper[P4], arg5: ValueClassWrapper[P5], arg6: ValueClassWrapper[P6], arg7: ValueClassWrapper[P7], arg8: ValueClassWrapper[P8], arg9: ValueClassWrapper[P9], arg10: ValueClassWrapper[P10], arg11: ValueClassWrapper[P11], arg12: ValueClassWrapper[P12], arg13: ValueClassWrapper[P13], arg14: ValueClassWrapper[P14], arg15: ValueClassExtractor[R]): Stubber
    Definition Classes
    DoSomething
  53. def doAnswer[P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, R](f: (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) => R)(implicit arg0: ValueClassWrapper[P0], arg1: ValueClassWrapper[P1], arg2: ValueClassWrapper[P2], arg3: ValueClassWrapper[P3], arg4: ValueClassWrapper[P4], arg5: ValueClassWrapper[P5], arg6: ValueClassWrapper[P6], arg7: ValueClassWrapper[P7], arg8: ValueClassWrapper[P8], arg9: ValueClassWrapper[P9], arg10: ValueClassWrapper[P10], arg11: ValueClassWrapper[P11], arg12: ValueClassWrapper[P12], arg13: ValueClassWrapper[P13], arg14: ValueClassExtractor[R]): Stubber
    Definition Classes
    DoSomething
  54. def doAnswer[P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, R](f: (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) => R)(implicit arg0: ValueClassWrapper[P0], arg1: ValueClassWrapper[P1], arg2: ValueClassWrapper[P2], arg3: ValueClassWrapper[P3], arg4: ValueClassWrapper[P4], arg5: ValueClassWrapper[P5], arg6: ValueClassWrapper[P6], arg7: ValueClassWrapper[P7], arg8: ValueClassWrapper[P8], arg9: ValueClassWrapper[P9], arg10: ValueClassWrapper[P10], arg11: ValueClassWrapper[P11], arg12: ValueClassWrapper[P12], arg13: ValueClassExtractor[R]): Stubber
    Definition Classes
    DoSomething
  55. def doAnswer[P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, R](f: (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) => R)(implicit arg0: ValueClassWrapper[P0], arg1: ValueClassWrapper[P1], arg2: ValueClassWrapper[P2], arg3: ValueClassWrapper[P3], arg4: ValueClassWrapper[P4], arg5: ValueClassWrapper[P5], arg6: ValueClassWrapper[P6], arg7: ValueClassWrapper[P7], arg8: ValueClassWrapper[P8], arg9: ValueClassWrapper[P9], arg10: ValueClassWrapper[P10], arg11: ValueClassWrapper[P11], arg12: ValueClassExtractor[R]): Stubber
    Definition Classes
    DoSomething
  56. def doAnswer[P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, R](f: (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) => R)(implicit arg0: ValueClassWrapper[P0], arg1: ValueClassWrapper[P1], arg2: ValueClassWrapper[P2], arg3: ValueClassWrapper[P3], arg4: ValueClassWrapper[P4], arg5: ValueClassWrapper[P5], arg6: ValueClassWrapper[P6], arg7: ValueClassWrapper[P7], arg8: ValueClassWrapper[P8], arg9: ValueClassWrapper[P9], arg10: ValueClassWrapper[P10], arg11: ValueClassExtractor[R]): Stubber
    Definition Classes
    DoSomething
  57. def doAnswer[P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, R](f: (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9) => R)(implicit arg0: ValueClassWrapper[P0], arg1: ValueClassWrapper[P1], arg2: ValueClassWrapper[P2], arg3: ValueClassWrapper[P3], arg4: ValueClassWrapper[P4], arg5: ValueClassWrapper[P5], arg6: ValueClassWrapper[P6], arg7: ValueClassWrapper[P7], arg8: ValueClassWrapper[P8], arg9: ValueClassWrapper[P9], arg10: ValueClassExtractor[R]): Stubber
    Definition Classes
    DoSomething
  58. def doAnswer[P0, P1, P2, P3, P4, P5, P6, P7, P8, R](f: (P0, P1, P2, P3, P4, P5, P6, P7, P8) => R)(implicit arg0: ValueClassWrapper[P0], arg1: ValueClassWrapper[P1], arg2: ValueClassWrapper[P2], arg3: ValueClassWrapper[P3], arg4: ValueClassWrapper[P4], arg5: ValueClassWrapper[P5], arg6: ValueClassWrapper[P6], arg7: ValueClassWrapper[P7], arg8: ValueClassWrapper[P8], arg9: ValueClassExtractor[R]): Stubber
    Definition Classes
    DoSomething
  59. def doAnswer[P0, P1, P2, P3, P4, P5, P6, P7, R](f: (P0, P1, P2, P3, P4, P5, P6, P7) => R)(implicit arg0: ValueClassWrapper[P0], arg1: ValueClassWrapper[P1], arg2: ValueClassWrapper[P2], arg3: ValueClassWrapper[P3], arg4: ValueClassWrapper[P4], arg5: ValueClassWrapper[P5], arg6: ValueClassWrapper[P6], arg7: ValueClassWrapper[P7], arg8: ValueClassExtractor[R]): Stubber
    Definition Classes
    DoSomething
  60. def doAnswer[P0, P1, P2, P3, P4, P5, P6, R](f: (P0, P1, P2, P3, P4, P5, P6) => R)(implicit arg0: ValueClassWrapper[P0], arg1: ValueClassWrapper[P1], arg2: ValueClassWrapper[P2], arg3: ValueClassWrapper[P3], arg4: ValueClassWrapper[P4], arg5: ValueClassWrapper[P5], arg6: ValueClassWrapper[P6], arg7: ValueClassExtractor[R]): Stubber
    Definition Classes
    DoSomething
  61. def doAnswer[P0, P1, P2, P3, P4, P5, R](f: (P0, P1, P2, P3, P4, P5) => R)(implicit arg0: ValueClassWrapper[P0], arg1: ValueClassWrapper[P1], arg2: ValueClassWrapper[P2], arg3: ValueClassWrapper[P3], arg4: ValueClassWrapper[P4], arg5: ValueClassWrapper[P5], arg6: ValueClassExtractor[R]): Stubber
    Definition Classes
    DoSomething
  62. def doAnswer[P0, P1, P2, P3, P4, R](f: (P0, P1, P2, P3, P4) => R)(implicit arg0: ValueClassWrapper[P0], arg1: ValueClassWrapper[P1], arg2: ValueClassWrapper[P2], arg3: ValueClassWrapper[P3], arg4: ValueClassWrapper[P4], arg5: ValueClassExtractor[R]): Stubber
    Definition Classes
    DoSomething
  63. def doAnswer[P0, P1, P2, P3, R](f: (P0, P1, P2, P3) => R)(implicit arg0: ValueClassWrapper[P0], arg1: ValueClassWrapper[P1], arg2: ValueClassWrapper[P2], arg3: ValueClassWrapper[P3], arg4: ValueClassExtractor[R]): Stubber
    Definition Classes
    DoSomething
  64. def doAnswer[P0, P1, P2, R](f: (P0, P1, P2) => R)(implicit arg0: ValueClassWrapper[P0], arg1: ValueClassWrapper[P1], arg2: ValueClassWrapper[P2], arg3: ValueClassExtractor[R]): Stubber
    Definition Classes
    DoSomething
  65. def doAnswer[P0, P1, R](f: (P0, P1) => R)(implicit arg0: ValueClassWrapper[P0], arg1: ValueClassWrapper[P1], arg2: ValueClassExtractor[R]): Stubber
    Definition Classes
    DoSomething
  66. def doAnswer[P0, R](f: (P0) => R)(implicit arg0: ValueClassWrapper[P0], arg1: ValueClassExtractor[R], classTag: ClassTag[P0]): Stubber
    Definition Classes
    DoSomething
  67. def doAnswer[R](l: => R)(implicit arg0: ValueClassExtractor[R]): Stubber
    Definition Classes
    DoSomething
  68. def doCallRealMethod: Stubber
    Definition Classes
    DoSomething
  69. def doNothing: Stubber
    Definition Classes
    DoSomething
  70. def doReturn[T](toBeReturned: T, toBeReturnedNext: T*)(implicit arg0: ValueClassExtractor[T]): Stubber
    Definition Classes
    DoSomething
  71. def doThrow[T <: Throwable](implicit arg0: ClassTag[T]): Stubber
    Definition Classes
    DoSomething
  72. def doThrow(toBeThrown: Throwable*): Stubber
    Definition Classes
    DoSomething
  73. def doubleThat(matcher: ArgumentMatcher[Double]): Double
    Definition Classes
    ThatMatchers
  74. def endsWith(suffix: String): String
    Definition Classes
    StringThatMatchers
  75. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  76. def eqTo[T](value: T)(implicit arg0: Equality[T], arg1: ValueClassExtractor[T], arg2: Prettifier): T
    Definition Classes
    EqMatchers_VersionSpecific
  77. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  78. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  79. def executionContextName: String
    Attributes
    protected
    Definition Classes
    HasExecutorServiceGeneric
  80. def executorService: ExecutionContextIdlenessExecutorService
    Attributes
    protected
    Definition Classes
    HasExecutorServiceGeneric
  81. def exitOnFatal: Boolean
    Attributes
    protected
    Definition Classes
    HasExecutorServiceGeneric
  82. def floatThat(matcher: ArgumentMatcher[Float]): Float
    Definition Classes
    ThatMatchers
  83. def function0[T](value: T): () => T
    Definition Classes
    FunctionMatchers
  84. val futureSupervisor: FutureSupervisor
    Definition Classes
    TestEssentials
  85. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  86. def handleFailure(message: String): Nothing
    Definition Classes
    SequencerBenchmark → HasExecutorServiceGeneric
  87. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  88. def ignoreStubs(mocks: AnyRef*): Array[AnyRef]
    Definition Classes
    MockitoEnhancer
  89. def inOrder(mocks: AnyRef*): InOrder
    Definition Classes
    Rest
  90. def intThat(matcher: ArgumentMatcher[Int]): Int
    Definition Classes
    ThatMatchers
  91. def internalPerformUnlessClosingF[A](name: String)(f: => Future[A])(implicit ec: ExecutionContext, traceContext: TraceContext): UnlessShutdown[Future[A]]
    Attributes
    protected
    Definition Classes
    PerformUnlessClosing
  92. def interval(value: Span): Interval
    Definition Classes
    PatienceConfiguration
  93. implicit val invocationOps: (InvocationOnMock) => InvocationOnMockOps
    Definition Classes
    MockitoEnhancer
  94. def isA[T](implicit arg0: ClassTag[T]): T
    Definition Classes
    EqMatchers
  95. def isClosing: Boolean

    Check whether we're closing.

    Check whether we're closing. Susceptible to race conditions; unless you're using using this as a flag to the retry lib or you really know what you're doing, prefer performUnlessClosing and friends.

    Definition Classes
    OnShutdownRunner
  96. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  97. def keepTrackOfOpenFutures: Boolean

    track running futures on shutdown

    track running futures on shutdown

    set to true to get detailed information about all futures that did not complete during shutdown. if set to false, we don't do anything.

    Attributes
    protected
    Definition Classes
    PerformUnlessClosing
  98. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  99. val loggerFactory: SuppressingLogger
    Definition Classes
    TestEssentials → NamedLogging
  100. def longThat(matcher: ArgumentMatcher[Long]): Long
    Definition Classes
    ThatMatchers
  101. def matches(regex: String): String
    Definition Classes
    StringThatMatchers
  102. def maxSleepMillis: Long

    How often to poll to check that all tasks have completed.

    How often to poll to check that all tasks have completed.

    Attributes
    protected
    Definition Classes
    PerformUnlessClosing
  103. var messageSize: Int
  104. def mkPromise[A](description: String, futureSupervisor: FutureSupervisor, logAfter: Duration = 10.seconds, logLevel: Level = Level.DEBUG)(implicit elc: ErrorLoggingContext, ec: ExecutionContext): PromiseUnlessShutdown[A]

    Use this method to create a PromiseUnlessShutdown that will automatically be cancelled when the close context is closed.

    Use this method to create a PromiseUnlessShutdown that will automatically be cancelled when the close context is closed. This allows proper clean up of stray promises when the node is transitioning to a passive state.

    Note: you should *not* invoke success on the returned promise but rather use trySuccess. The reason is that the call to success may fail in case of shutdown.

    Definition Classes
    PromiseUnlessShutdownFactory
  105. def mock[T <: AnyRef](name: String)(implicit arg0: ClassTag[T], arg1: scala.reflect.api.JavaUniverse.WeakTypeTag[T], defaultAnswer: DefaultAnswer, arg3: Prettifier): T
    Definition Classes
    MockitoEnhancer → MockCreator
  106. def mock[T <: AnyRef](mockSettings: MockSettings)(implicit arg0: ClassTag[T], arg1: scala.reflect.api.JavaUniverse.WeakTypeTag[T], arg2: Prettifier): T
    Definition Classes
    MockitoEnhancer → MockCreator
  107. def mock[T <: AnyRef](defaultAnswer: DefaultAnswer)(implicit arg0: ClassTag[T], arg1: scala.reflect.api.JavaUniverse.WeakTypeTag[T], arg2: Prettifier): T
    Definition Classes
    MockitoEnhancer → MockCreator
  108. def mock[T <: AnyRef](implicit arg0: ClassTag[T], arg1: scala.reflect.api.JavaUniverse.WeakTypeTag[T], defaultAnswer: DefaultAnswer, arg3: Prettifier): T
    Definition Classes
    MockitoEnhancer → MockCreator
  109. def mock[T <: AnyRef](defaultAnswer: Answer[_])(implicit arg0: ClassTag[T], arg1: scala.reflect.api.JavaUniverse.WeakTypeTag[T], arg2: Prettifier): T
    Definition Classes
    MockCreator
  110. def mockingDetails(toInspect: AnyRef): MockingDetails
    Definition Classes
    MockitoEnhancer
  111. implicit def mockitoSerialisableEquality[T]: Equality[T]
    Definition Classes
    ScalacticSerialisableHack
  112. val n: N
    Definition Classes
    NumericMatchers
  113. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  114. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  115. def never: VerificationMode
    Definition Classes
    Verifications
  116. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  117. lazy val nonEmptyTraceContext1: TraceContext
    Attributes
    protected
    Definition Classes
    TestEssentials
  118. lazy val nonEmptyTraceContext2: TraceContext
    Attributes
    protected
    Definition Classes
    TestEssentials
  119. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  120. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  121. def onCloseFailure(e: Throwable): Unit
    Attributes
    protected
    Definition Classes
    PerformUnlessClosing
  122. def onClosed(): Unit
    Attributes
    protected
    Definition Classes
    PerformUnlessClosing
  123. final def onFirstClose(): Unit

    Blocks until all earlier tasks have completed and then prevents further tasks from being run.

    Blocks until all earlier tasks have completed and then prevents further tasks from being run.

    Definition Classes
    PerformUnlessClosingOnShutdownRunner
    Annotations
    @SuppressWarnings()
  124. def only: VerificationMode
    Definition Classes
    Verifications
  125. implicit def parallelExecutionContext: ExecutionContextIdlenessExecutorService
  126. implicit def patienceConfig: PatienceConfig
    Definition Classes
    PatienceConfiguration → AbstractPatienceConfiguration
  127. def performUnlessClosing[A](name: String)(f: => A)(implicit traceContext: TraceContext): UnlessShutdown[A]

    Performs the task given by f unless a shutdown has been initiated.

    Performs the task given by f unless a shutdown has been initiated. The shutdown will only begin after f completes, but other tasks may execute concurrently with f, if started using this function, or one of the other variants (performUnlessClosingF and performUnlessClosingEitherT). The tasks are assumed to take less than closingTimeout to complete.

    DO NOT CALL this.close as part of f, because it will result in a deadlock.

    f

    The task to perform

    returns

    scala.None$ if a shutdown has been initiated. Otherwise the result of the task.

    Definition Classes
    PerformUnlessClosing
  128. def performUnlessClosingCheckedT[A, N, R](name: String, onClosing: => Checked[A, N, R])(etf: => CheckedT[Future, A, N, R])(implicit ec: ExecutionContext, traceContext: TraceContext): CheckedT[Future, A, N, R]
    Definition Classes
    PerformUnlessClosing
  129. def performUnlessClosingEitherT[E, R](name: String, onClosing: => E)(etf: => EitherT[Future, E, R])(implicit ec: ExecutionContext, traceContext: TraceContext): EitherT[Future, E, R]

    Performs the EitherT[Future] given by etf unless a shutdown has been initiated, in which case the provided error is returned instead.

    Performs the EitherT[Future] given by etf unless a shutdown has been initiated, in which case the provided error is returned instead. Both etf and the error are lazy; etf is only evaluated if there is no shutdown, the error only if we're shutting down. The shutdown will only begin after etf completes, but other tasks may execute concurrently with etf, if started using this function, or one of the other variants (performUnlessClosing and performUnlessClosingF). The tasks are assumed to take less than closingTimeout to complete.

    DO NOT CALL this.close as part of etf, because it will result in a deadlock.

    etf

    The task to perform

    Definition Classes
    PerformUnlessClosing
  130. def performUnlessClosingEitherTF[E, R](name: String, onClosing: => E)(etf: => EitherT[Future, E, Future[R]])(implicit ec: ExecutionContext, traceContext: TraceContext): EitherT[Future, E, Future[R]]
    Definition Classes
    PerformUnlessClosing
  131. def performUnlessClosingEitherU[E, R](name: String)(etf: => EitherT[Future, E, R])(implicit ec: ExecutionContext, traceContext: TraceContext): EitherT[FutureUnlessShutdown, E, R]
    Definition Classes
    PerformUnlessClosing
  132. def performUnlessClosingEitherUSF[E, R](name: String)(etf: => EitherT[FutureUnlessShutdown, E, R])(implicit ec: ExecutionContext, traceContext: TraceContext): EitherT[FutureUnlessShutdown, E, R]
    Definition Classes
    PerformUnlessClosing
  133. def performUnlessClosingF[A](name: String)(f: => Future[A])(implicit ec: ExecutionContext, traceContext: TraceContext): FutureUnlessShutdown[A]

    Performs the Future given by f unless a shutdown has been initiated.

    Performs the Future given by f unless a shutdown has been initiated. The future is lazy and not evaluated during shutdown. The shutdown will only begin after f completes, but other tasks may execute concurrently with f, if started using this function, or one of the other variants (performUnlessClosing and performUnlessClosingEitherT). The tasks are assumed to take less than closingTimeout to complete.

    DO NOT CALL this.close as part of f, because it will result in a deadlock.

    f

    The task to perform

    returns

    The future completes with com.digitalasset.canton.lifecycle.UnlessShutdown.AbortedDueToShutdown if a shutdown has been initiated. Otherwise the result of the task wrapped in com.digitalasset.canton.lifecycle.UnlessShutdown.Outcome.

    Definition Classes
    PerformUnlessClosing
  134. def performUnlessClosingUSF[A](name: String)(f: => FutureUnlessShutdown[A])(implicit ec: ExecutionContext, traceContext: TraceContext): FutureUnlessShutdown[A]
    Definition Classes
    PerformUnlessClosing
  135. def refEq[T](value: T, excludeFields: String*): T
    Definition Classes
    EqMatchers
  136. def reset(mocks: AnyRef*)(implicit arg0: Prettifier): Unit
    Definition Classes
    MockitoEnhancer
  137. def runOnShutdown[T](task: RunOnShutdown)(implicit traceContext: TraceContext): Long

    Same as runOnShutdown_ but returns a token that allows you to remove the task explicitly from being run using cancelShutdownTask

    Same as runOnShutdown_ but returns a token that allows you to remove the task explicitly from being run using cancelShutdownTask

    Definition Classes
    OnShutdownRunner
  138. def runOnShutdown_[T](task: RunOnShutdown)(implicit traceContext: TraceContext): Unit

    Register a task to run when shutdown is initiated.

    Register a task to run when shutdown is initiated.

    You can use this for example to register tasks that cancel long-running computations, whose termination you can then wait for in "closeAsync".

    Definition Classes
    OnShutdownRunner
  139. def runStateChanged(waitingState: Boolean = false): Unit
    Attributes
    protected
    Definition Classes
    OnShutdownRunner
    Annotations
    @VisibleForTesting()
  140. def same[T](value: T): T
    Definition Classes
    EqMatchers
  141. final def scaled(span: Span): Span
    Definition Classes
    ScaledTimeSpans
  142. def scheduledExecutor(): ScheduledExecutorService
    Attributes
    protected
    Definition Classes
    HasExecutorServiceGeneric
  143. def scheduler: ScheduledExecutorService
  144. def sendDirect(ctrl: Control): Unit
    Annotations
    @Benchmark() @BenchmarkMode() @Threads()
  145. def setupBenchmarkRun(): Unit
    Annotations
    @Setup() @SuppressWarnings()
  146. def shortThat(matcher: ArgumentMatcher[Short]): Short
    Definition Classes
    ThatMatchers
  147. def signedTransactionProtocolVersionRepresentative: RepresentativeProtocolVersion[SignedTopologyTransaction.type]
    Attributes
    protected
    Definition Classes
    TestEssentials
  148. def spanScaleFactor: Double
    Definition Classes
    ScaledTimeSpans
  149. def spy[T <: AnyRef](realObj: T, lenient: Boolean)(implicit arg0: ClassTag[T], arg1: scala.reflect.api.JavaUniverse.WeakTypeTag[T], arg2: Prettifier): T
    Definition Classes
    MockitoEnhancer → MockCreator
  150. def spyLambda[T <: AnyRef](realObj: T)(implicit arg0: ClassTag[T]): T
    Definition Classes
    MockitoEnhancer → MockCreator
  151. def startsWith(prefix: String): String
    Definition Classes
    StringThatMatchers
  152. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  153. def tearDown(): Unit
    Annotations
    @TearDown()
  154. lazy val testedProtocolVersion: ProtocolVersion
    Attributes
    protected
    Definition Classes
    TestEssentials
  155. lazy val testedReleaseProtocolVersion: ReleaseProtocolVersion
    Attributes
    protected
    Definition Classes
    TestEssentials
  156. def timeout(millis: Int): VerificationWithTimeout
    Definition Classes
    Verifications
  157. def timeout(value: Span): Timeout
    Definition Classes
    PatienceConfiguration
  158. def timeouts: ProcessingTimeout
    Attributes
    protected
    Definition Classes
    TestEssentials
  159. def times(wantedNumberOfInvocations: Int): VerificationMode
    Definition Classes
    Verifications
  160. def toString(): String
    Definition Classes
    AnyRef → Any
  161. implicit def traceContext: TraceContext
    Attributes
    protected
    Definition Classes
    TestEssentials
  162. implicit lazy val tracer: Tracer
    Attributes
    protected
    Definition Classes
    TestEssentials
  163. def validateMockitoUsage(): Unit
    Definition Classes
    Rest
  164. def valueOrThrow[F[_], A, B](e: EitherT[F, A, B])(clue: String)(implicit F: Functor[F]): F[B]

    Converts an EitherT into a Future, throwing the exception in case of a scala.Left$.

  165. def verify[T](mock: T, mode: VerificationMode): T
    Definition Classes
    Rest
  166. def verify[T](mock: T): T
    Definition Classes
    Rest
  167. def verifyNoMoreInteractions(mocks: AnyRef*): Unit
    Definition Classes
    MockitoEnhancer
  168. def verifyZeroInteractions(mocks: AnyRef*): Unit
    Definition Classes
    Rest
  169. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  170. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  171. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  172. def when[T](methodCall: T)(implicit arg0: ValueClassExtractor[T]): ScalaFirstStubbing[T]
    Definition Classes
    Rest
  173. final def whenReady[T, U](future: FutureConcept[T])(fun: (T) => U)(implicit config: PatienceConfig, pos: Position): U
    Definition Classes
    Futures
  174. final def whenReady[T, U](future: FutureConcept[T], interval: Interval)(fun: (T) => U)(implicit config: PatienceConfig, pos: Position): U
    Definition Classes
    Futures
  175. final def whenReady[T, U](future: FutureConcept[T], timeout: Timeout)(fun: (T) => U)(implicit config: PatienceConfig, pos: Position): U
    Definition Classes
    Futures
  176. final def whenReady[T, U](future: FutureConcept[T], timeout: Timeout, interval: Interval)(fun: (T) => U)(implicit config: PatienceConfig, pos: Position): U
    Definition Classes
    Futures
  177. def withObjectMocked[O <: AnyRef](block: => Any)(implicit arg0: ClassTag[O], defaultAnswer: DefaultAnswer, arg2: Prettifier): Unit
    Definition Classes
    MockitoEnhancer
  178. def withSettings(implicit defaultAnswer: DefaultAnswer): MockSettings
    Definition Classes
    MockCreator

Deprecated Value Members

  1. def anyVal[T](implicit default: DefaultValueProvider[T]): T
    Definition Classes
    MacroBasedMatchers
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.2) Use 'any[T]' or '*[T]' instead

  2. def eqToVal[T](value: T)(implicit arg0: Equality[T], arg1: ValueClassExtractor[T], arg2: Prettifier): T
    Definition Classes
    EqMatchers_VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.2) Use 'eqTo' instead

  3. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated
  4. def isNotNull[T]: T
    Definition Classes
    NullMatchers
    Annotations
    @deprecated
    Deprecated

    (Since version 0.0.0) Using nulls in Scala? you naughty, naughty developer...

  5. def isNull[T]: T
    Definition Classes
    NullMatchers
    Annotations
    @deprecated
    Deprecated

    (Since version 0.0.0) Using nulls in Scala? you naughty, naughty developer...

Inherited from HasCloseContext

Inherited from FlagCloseable

Inherited from PerformUnlessClosing

Inherited from OnShutdownRunner

Inherited from AutoCloseable

Inherited from TestEssentials

Inherited from ArgumentMatchersSugar

Inherited from MacroBasedMatchers

Inherited from NumericMatchers

Inherited from Tolerance

Inherited from FunctionMatchers

Inherited from NullMatchers

Inherited from StringThatMatchers

Inherited from ThatMatchers

Inherited from EqMatchers

Inherited from AnyMatchers

Inherited from MockitoSugar

Inherited from Rest

Inherited from Verifications

Inherited from DoSomething

Inherited from MockitoEnhancer

Inherited from MockCreator

Inherited from ScalaFutures

Inherited from Futures

Inherited from PatienceConfiguration

Inherited from ScaledTimeSpans

Inherited from NamedLogging

Inherited from AnyRef

Inherited from Any

Ungrouped