package environment
- Alphabetic
- Public
- Protected
Type Members
- 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.
- trait CantonNode extends AutoCloseable
A running instance of a canton node
- 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 completestart
will return successfully butisInitialized
will still be false. When the node is successfully initialized the underlying node will be available throughgetNode
. - abstract class CantonNodeBootstrapBase[T <: CantonNode, NodeConfig <: LocalNodeConfig, ParameterConfig <: LocalNodeParameters] extends CantonNodeBootstrap[T] with HasCloseContext with NoTracing
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
- class CommunityConsoleEnvironment extends ConsoleEnvironment
- class CommunityEnvironment extends Environment
- 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
- final case class DidntUseForceOnRepairMigration(name: String) extends StartupError with Product with Serializable
- class DomainManagerNodes[MC <: EnterpriseDomainManagerConfig] extends ManagedNodes[DomainManager, MC, DomainNodeParameters, DomainManagerBootstrap]
- class DomainNodes[DC <: DomainConfig] extends ManagedNodes[Domain, DC, DomainNodeParameters, DomainNodeBootstrap]
- class EnterpriseEnvironment extends Environment
- trait Environment extends NamedLogging with AutoCloseable with NoTracing
Holds all significant resources held by this process.
- trait EnvironmentFactory[E <: Environment] extends AnyRef
- final case class FailedDatabaseConfigChecks(name: String, cause: DatabaseConfigError) extends StartupError with Product with Serializable
- final case class FailedDatabaseMigration(name: String, cause: Error) extends StartupError with Product with Serializable
- final case class FailedDatabaseRepairMigration(name: String, cause: Error) extends StartupError with Product with Serializable
- final case class FailedDatabaseVersionChecks(name: String, cause: DatabaseVersionError) extends StartupError with Product with Serializable
- final case class InstanceNotStarted(name: String) extends ShutdownError with Product with Serializable
A running instance for the given name has not been started.
- class ManagedNodes[Node <: CantonNode, NodeConfig <: LocalNodeConfig, NodeParameters <: LocalNodeParameters, NodeBootstrap <: CantonNodeBootstrap[Node]] extends Nodes[Node, NodeBootstrap] with NamedLogging with HasCloseContext
Nodes group that can start nodes with the provided configuration and factory
- class MediatorNodes extends ManagedNodes[MediatorNode, MediatorNodeConfig, MediatorNodeParameters, MediatorNodeBootstrap]
- trait Nodes[+Node <: CantonNode, +NodeBootstrap <: CantonNodeBootstrap[Node]] extends FlagCloseable
Group of CantonNodes of the same type (domains, participants, sequencers).
- class ParticipantNodes[PC <: LocalParticipantConfig] extends ManagedNodes[ParticipantNode, PC, ParticipantNodeParameters, ParticipantNodeBootstrap]
- 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
- class SequencerNodes[SC <: SequencerNodeConfig] extends ManagedNodes[SequencerNode, SC, SequencerNodeParameters, SequencerNodeBootstrap]
- final case class ShutdownDuringStartup(name: String, message: String) extends StartupError with Product with Serializable
- sealed trait ShutdownError extends AnyRef
- final case class StartFailed(name: String, message: String) extends StartupError with Product with Serializable
- sealed trait StartupError extends Product with Serializable
Value Members
- object CommunityEnvironmentFactory extends EnvironmentFactory[CommunityEnvironment]
- object EnterpriseEnvironmentFactory extends EnvironmentFactory[EnterpriseEnvironment]
- object Environment