object SequencerClient
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SequencerClient
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- sealed trait CloseReason extends AnyRef
- final case class ReplayStatistics(inputPath: Path, numberOfEvents: Int, startTime: CantonTimestamp, duration: Duration) extends Product with Serializable
- final case class SequencerTransportContainer(sequencerId: SequencerId, clientTransport: SequencerClientTransport) extends Product with Serializable
- final case class SequencerTransports(sequencerToTransportMap: NonEmpty[Map[SequencerAlias, SequencerTransportContainer]], sequencerTrustThreshold: PositiveInt) extends Product with Serializable
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val healthName: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- lazy val replayStatistics: BlockingQueue[ReplayStatistics]
Hook for informing tests about replay statistics.
Hook for informing tests about replay statistics.
If a SequencerClient is used with transports.replay.ReplayingEventsSequencerClientTransport, the transport will add a statistics to this queue whenever a replay attempt has completed successfully.
A test can poll this statistics from the queue to determine whether the replay has completed and to get statistics on the replay.
LIMITATION: This is only suitable for manual / sequential test setups, as the statistics are shared through a global queue.
- Annotations
- @VisibleForTesting()
- def sendWithRetries(sendBatch: (SendCallback) => EitherT[Future, SendAsyncClientError, Unit], maxRetries: Int, delay: FiniteDuration, sendDescription: String, errMsg: String, performUnlessClosing: PerformUnlessClosing)(implicit ec: ExecutionContext, loggingContext: ErrorLoggingContext): FutureUnlessShutdown[Unit]
Utility to add retries around sends as an attempt to guarantee the send is eventually sequenced.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object CloseReason
- object SequencerTransports extends Serializable