package admin
- Alphabetic
- Public
- Protected
Package Members
Type Members
- final case class AdminWorkflowConfig(bongTestMaxLevel: NonNegativeInt = NonNegativeInt.tryCreate(0), pingResponseTimeout: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofSeconds(30), maxBongDuration: NonNegativeFiniteDuration = NonNegativeFiniteDuration.ofMinutes(15), retries: Boolean = true, autoLoadDar: Boolean = true) extends UniformCantonConfigValidation with Product with Serializable
Configuration options for Canton admin workflows like
participant.health.ping
Configuration options for Canton admin workflows like
participant.health.ping
- bongTestMaxLevel
Upper bound (exclusive) on the level of a bong that the participant can participate. Any bong with higher level will be vacuumed immediately. Default 0, which means it won't participate in any bongs.
- pingResponseTimeout
How long we will attempt to respond to a ping request before giving up
- maxBongDuration
Cap the maximum duration of a bong. Default is 15 minutes.
- retries
If false (default true), we will not retry sending commands in case of failures
- autoLoadDar
If set to true (default), we will load the admin workflow package automatically. Setting this to false will break some admin workflows.
- trait AdminWorkflowService extends NamedLogging with AutoCloseable
Admin service that connects to the ledger and process events
- class AdminWorkflowServices extends FlagCloseableAsync with NamedLogging with Spanning
Manages our admin workflow applications (ping, party management).
Manages our admin workflow applications (ping, party management). Currently, each is an individual application with their own ledger connection and acting independently.
- trait DarService extends AnyRef
- class PackageDependencyResolver extends NamedLogging with FlagCloseable with PackageDependencyResolverUS
- class PackageService extends DarService with NamedLogging with FlagCloseable
- class PackageUploader extends NamedLogging with FlagCloseable
- trait PackageVettingSynchronization extends AnyRef
- class PingService extends Impl with AdminWorkflowService with FlagCloseable with PromiseUnlessShutdownFactory with HasCloseContext with NamedLogging with Spanning
Implements the core of the ledger ping service for a participant.
Implements the core of the ledger ping service for a participant. The service measures the time needed for a nanobot on the responder to act on a contract created by the initiator.
The main functionality:
- once instantiated, it automatically starts a Scala Nanobot that responds to pings for this participant
- it provides a ping method that sends a ping to the given (target) party
Parameters:
- Annotations
- @SuppressWarnings()
- final case class ResourceLimits(maxInflightValidationRequests: Option[NonNegativeInt], maxSubmissionRate: Option[NonNegativeInt], maxSubmissionBurstFactor: PositiveDouble = ResourceLimits.defaultMaxSubmissionBurstFactor) extends Product with Serializable
Encapsulated resource limits for a participant.
Encapsulated resource limits for a participant.
- maxInflightValidationRequests
the maximum number of requests that are currently being validated. This also covers requests submitted by other participants.
- maxSubmissionRate
the maximum submission rate at which commands may be submitted through the ledger api.
- maxSubmissionBurstFactor
to ratio of the max submission rate, describing the maximum acceptable initial burst before the steady submission rate limiting kicks in. example: if maxSubmissionRate is 100 and the burst ratio is 0.3, then the first 30 commands can submitted in the same instant, while thereafter, only one command every 10ms is accepted.
- class ResourceManagementService extends AutoCloseable
Value Members
- object AdminWorkflowConfig extends Serializable
- object AdminWorkflowServices extends AdminWorkflowServicesErrorGroup
- object CantonPackageServiceError extends PackageServiceErrorGroup
- object PackageService
- object PackageUploader
- object PackageVettingSynchronization
- object PingService
- Annotations
- @nowarn()
- object ResourceLimits extends Serializable