c

com.digitalasset.canton.participant.ledger.api

StartableStoppableLedgerApiDependentServices

class StartableStoppableLedgerApiDependentServices extends AutoCloseable with NamedLogging

Holds and manages the lifecycle of all Canton services that use the Ledger API and hence depend on the Ledger API server to be up.

The services are started on participant initialization iff the participant comes up as an active replica, otherwise they are started when the participant transitions to active. On transition to passive participant state, these services are shutdown.

It is also used to close and restart the services when the Ledger API server needs to be taken down temporarily (e.g. for ledger pruning).

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StartableStoppableLedgerApiDependentServices
  2. NamedLogging
  3. AutoCloseable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new StartableStoppableLedgerApiDependentServices(config: LocalParticipantConfig, testingConfig: ParticipantNodeParameters, packageService: PackageService, syncService: CantonSyncService, participantId: ParticipantId, hashOps: HashOps, clock: Clock, registry: CantonMutableHandlerRegistry, adminToken: CantonAdminToken, futureSupervisor: FutureSupervisor, loggerFactory: NamedLoggerFactory, tracerProvider: TracerProvider)(implicit ec: ExecutionContextExecutor, actorSystem: ActorSystem, tracer: Tracer, scheduler: ScheduledExecutorService, executionSequencerFactory: ExecutionSequencerFactory)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def adminWorkflowServices(implicit traceContext: TraceContext): AdminWorkflowServices
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def close(): Unit
    Definition Classes
    StartableStoppableLedgerApiDependentServices → AutoCloseable
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  15. val loggerFactory: NamedLoggerFactory
  16. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def start()(implicit traceContext: TraceContext): Unit
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from NamedLogging

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped