c

com.digitalasset.canton.sequencing.client

CheckedSubscriptionErrorRetryPolicy

abstract class CheckedSubscriptionErrorRetryPolicy[SE <: SubscriptionError] extends SubscriptionErrorRetryPolicy

Allows implementors to only specify policy for an error hierarchy they've defined. Avoids adding type parameters to all sequencer client components. TODO(11067): work out if type parameters are really required and if so are they that bad

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CheckedSubscriptionErrorRetryPolicy
  2. SubscriptionErrorRetryPolicy
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CheckedSubscriptionErrorRetryPolicy()(implicit classTag: ClassTag[SE])

Concrete Value Members

  1. def retryOnError(error: SubscriptionError, receivedItems: Boolean)(implicit traceContext: TraceContext): Boolean
  2. def retryOnException(ex: Throwable, Logger: TracedLogger)(implicit traceContext: TraceContext): Boolean