trait SequencerTransportLookup extends AnyRef
- Alphabetic
- By Inheritance
- SequencerTransportLookup
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def nextAmplifiedTransport(previous: Seq[SequencerId])(implicit traceContext: TraceContext): (SequencerAlias, SequencerId, SequencerClientTransportCommon, Option[NonNegativeFiniteDuration])
Chooses a sequencer to try next.
Chooses a sequencer to try next. Currently picks a random healthy sequencer (not chosen so far) or a fixed sequencer if there are no healthy sequencers.
- previous
The sequencers the client has already tried to send the submission request to
- returns
The chosen sequencer, its transport, and the configured patience duration to wait before trying again (or None if the amplification factor has been exhausted with the chosen sequencer).
- abstract def transport(sequencerId: SequencerId)(implicit traceContext: TraceContext): UnlessShutdown[SequencerClientTransport]
Returns the transport for the given com.digitalasset.canton.topology.SequencerId.
Returns the transport for the given com.digitalasset.canton.topology.SequencerId.
- Exceptions thrown
java.lang.IllegalArgumentException
if the com.digitalasset.canton.topology.SequencerId currently has not transport
- abstract def transport(implicit traceContext: TraceContext): SequencerClientTransportCommon
Returns an arbitrary com.digitalasset.canton.sequencing.client.transports.SequencerClientTransportCommon.
Returns an arbitrary com.digitalasset.canton.sequencing.client.transports.SequencerClientTransportCommon. Prefers healthy subscriptions to unhealthy ones.
- Exceptions thrown
java.lang.IllegalStateException
if there are currently no com.digitalasset.canton.sequencing.client.transports.SequencerClientTransportCommons at all
Concrete 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]) @IntrinsicCandidate() @native()
- 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
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- 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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- 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])