Packages

package environment

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class AlreadyRunning(name: String) extends StartupError with Product with Serializable

    The current action cannot be performed when the instance for the given name is running.

  2. trait BaseMetrics extends AnyRef
  3. abstract class BootstrapStage[T <: CantonNode, StageResult <: BootstrapStageOrLeaf[T]] extends BootstrapStageOrLeaf[T]
  4. sealed trait BootstrapStageOrLeaf[T <: CantonNode] extends FlagCloseable with NamedLogging with HasCloseContext
  5. abstract class BootstrapStageWithStorage[T <: CantonNode, StageResult <: BootstrapStageOrLeaf[T], M] extends BootstrapStage[T, StageResult]

    Bootstrap stage which does auto-init / write operations and might eventually be passive

  6. trait CantonNode extends AutoCloseable

    A running instance of a canton node

  7. trait CantonNodeBootstrap[+T <: CantonNode] extends FlagCloseable with NamedLogging

    When a canton node is created it first has to obtain an identity before most of its services can be started.

    When a canton node is created it first has to obtain an identity before most of its services can be started. This process will begin when start is called and will try to perform as much as permitted by configuration automatically. If external action is required before this process can complete start will return successfully but isInitialized will still be false. When the node is successfully initialized the underlying node will be available through getNode.

  8. abstract class CantonNodeBootstrapBase[T <: CantonNode, NodeConfig <: LocalNodeConfig, ParameterConfig <: CantonNodeParameters, Metrics <: BaseMetrics] extends CantonNodeBootstrapCommon[T, NodeConfig, ParameterConfig, Metrics]

    Bootstrapping class used to drive the initialization of a canton node (domain and participant)

    Bootstrapping class used to drive the initialization of a canton node (domain and participant)

    (wait for unique id) -> receive initId -> notify actual implementation via idInitialized

  9. abstract class CantonNodeBootstrapCommon[T <: CantonNode, NodeConfig <: LocalNodeConfig, ParameterConfig <: CantonNodeParameters, Metrics <: BaseMetrics] extends CantonNodeBootstrap[T] with HasCloseContext with NoTracing
  10. final case class CantonNodeBootstrapCommonArguments[+NodeConfig <: LocalNodeConfig, ParameterConfig <: CantonNodeParameters, M <: BaseMetrics](name: InstanceName, config: NodeConfig, parameterConfig: ParameterConfig, testingConfig: TestingConfigInternal, clock: Clock, metrics: M, storageFactory: StorageFactory, cryptoFactory: CryptoFactory, cryptoPrivateStoreFactory: CryptoPrivateStoreFactory, grpcVaultServiceFactory: GrpcVaultServiceFactory, futureSupervisor: FutureSupervisor, loggerFactory: NamedLoggerFactory, writeHealthDumpToFile: HealthDumpFunction, configuredOpenTelemetry: ConfiguredOpenTelemetry) extends Product with Serializable
  11. abstract class CantonNodeBootstrapX[T <: CantonNode, NodeConfig <: LocalNodeConfig, ParameterConfig <: CantonNodeParameters, Metrics <: BaseMetrics] extends CantonNodeBootstrapCommon[T, NodeConfig, ParameterConfig, Metrics]

    CantonNodeBootstrapX trait insists that nodes have their own topology manager and that they have the ability to auto-initialize their identity on their own.

  12. trait CantonNodeParameters extends General with Protocol
  13. class CommunityConsoleEnvironment extends ConsoleEnvironment
  14. class CommunityEnvironment extends Environment
  15. final case class ConfigurationNotFound(name: String) extends StartupError with ShutdownError with Product with Serializable

    Configuration for the given name was not found in the CantonConfig

  16. final case class DidntUseForceOnRepairMigration(name: String) extends StartupError with Product with Serializable
  17. class DomainManagerNodes[MC <: DomainManagerConfig] extends ManagedNodes[DomainManagerNode, MC, DomainNodeParameters, DomainManagerBootstrap]
  18. class DomainNodes[DC <: DomainConfig] extends ManagedNodes[Domain, DC, DomainNodeParameters, DomainNodeBootstrap]
  19. trait DomainTopologyInitializationCallback extends AnyRef
  20. class EnterpriseEnvironment extends Environment
  21. trait Environment extends NamedLogging with AutoCloseable with NoTracing

    Holds all significant resources held by this process.

  22. trait EnvironmentFactory[E <: Environment] extends AnyRef
  23. final case class FailedDatabaseConfigChecks(name: String, cause: DatabaseConfigError) extends StartupError with Product with Serializable
  24. final case class FailedDatabaseMigration(name: String, cause: Error) extends StartupError with Product with Serializable
  25. final case class FailedDatabaseRepairMigration(name: String, cause: Error) extends StartupError with Product with Serializable
  26. final case class FailedDatabaseVersionChecks(name: String, cause: DatabaseVersionError) extends StartupError with Product with Serializable
  27. trait HasGeneralCantonNodeParameters extends General
  28. trait HasProtocolCantonNodeParameters extends Protocol
  29. final case class InstanceNotStarted(name: String) extends ShutdownError with Product with Serializable

    A running instance for the given name has not been started.

  30. class ManagedNodes[Node <: CantonNode, NodeConfig <: LocalNodeConfig, NodeParameters <: CantonNodeParameters, NodeBootstrap <: CantonNodeBootstrap[Node]] extends Nodes[Node, NodeBootstrap] with NamedLogging with HasCloseContext

    Nodes group that can start nodes with the provided configuration and factory

  31. class MediatorNodes extends ManagedNodes[MediatorNode, MediatorNodeConfig, MediatorNodeParameters, MediatorNodeBootstrap]
  32. class MediatorNodesX extends ManagedNodes[MediatorNodeX, MediatorNodeXConfig, MediatorNodeParameters, MediatorNodeBootstrapX]
  33. final case class NodeFactoryArguments[NodeConfig <: LocalNodeConfig, ParameterConfig <: CantonNodeParameters, Metrics <: BaseMetrics](name: String, config: NodeConfig, parameters: ParameterConfig, clock: Clock, metrics: Metrics, testingConfig: TestingConfigInternal, futureSupervisor: FutureSupervisor, loggerFactory: NamedLoggerFactory, writeHealthDumpToFile: HealthDumpFunction, configuredOpenTelemetry: ConfiguredOpenTelemetry) extends Product with Serializable
  34. trait Nodes[+Node <: CantonNode, +NodeBootstrap <: CantonNodeBootstrap[Node]] extends FlagCloseable

    Group of CantonNodes of the same type (domains, participants, sequencers).

  35. class ParticipantNodes[B <: CantonNodeBootstrap[N], N <: CantonNode, PC <: LocalParticipantConfig] extends ManagedNodes[N, PC, ParticipantNodeParameters, B]
  36. final case class PendingDatabaseMigration(name: String, pendingMigrationMessage: String) extends StartupError with Product with Serializable

    Trying to start the node when the database has pending migrations

  37. class ResearchEnvironment extends EnterpriseEnvironment
  38. class RunningNode[T <: CantonNode] extends BootstrapStageOrLeaf[T]
  39. class SequencerNodes[SC <: SequencerNodeConfig] extends ManagedNodes[SequencerNode, SC, SequencerNodeParameters, SequencerNodeBootstrap]
  40. class SequencerNodesX[SC <: SequencerNodeXConfig] extends ManagedNodes[SequencerNodeX, SC, SequencerNodeParameters, SequencerNodeBootstrapX]
  41. final case class ShutdownDuringStartup(name: String, message: String) extends StartupError with Product with Serializable
  42. sealed trait ShutdownError extends AnyRef
  43. final case class StartFailed(name: String, message: String) extends StartupError with Product with Serializable
  44. sealed trait StartupError extends Product with Serializable
  45. class StoreBasedDomainTopologyInitializationCallback extends DomainTopologyInitializationCallback

Ungrouped