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 BaseMetrics extends AnyRef
- abstract class BootstrapStage[T <: CantonNode, StageResult <: BootstrapStageOrLeaf[T]] extends BootstrapStageOrLeaf[T]
- sealed trait BootstrapStageOrLeaf[T <: CantonNode] extends FlagCloseable with NamedLogging with HasCloseContext
- 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
- trait CantonNode extends AutoCloseable
A running instance of a canton node
- trait CantonNodeBootstrap[+T <: CantonNode] extends FlagCloseable with HasCloseContext 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
. - final case class CantonNodeBootstrapCommonArguments[+NodeConfig <: LocalNodeConfig, ParameterConfig <: CantonNodeParameters, M <: BaseMetrics](name: InstanceName, config: NodeConfig, parameterConfig: ParameterConfig, testingConfig: TestingConfigInternal, clock: Clock, metrics: M, storageFactory: StorageFactory, cryptoPrivateStoreFactory: CryptoPrivateStoreFactory, kmsFactory: KmsFactory, futureSupervisor: FutureSupervisor, loggerFactory: NamedLoggerFactory, writeHealthDumpToFile: HealthDumpFunction, configuredOpenTelemetry: ConfiguredOpenTelemetry, tracerProvider: TracerProvider) extends Product with Serializable
- abstract class CantonNodeBootstrapImpl[T <: CantonNode, NodeConfig <: LocalNodeConfig, ParameterConfig <: CantonNodeParameters, Metrics <: BaseMetrics] extends CantonNodeBootstrap[T] with NoTracing
CantonNodeBootstrapImpl insists that nodes have their own topology manager and that they have the ability to auto-initialize their identity on their own.
- trait CantonNodeParameters extends General with Protocol
- 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 Environment extends NamedLogging with AutoCloseable with NoTracing
Holds all significant resources held by this process.
- trait EnvironmentFactory 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
- trait HasGeneralCantonNodeParameters extends General
- trait HasProtocolCantonNodeParameters extends Protocol
- final case class InvalidDeclarativeStateConfig(name: String, err: String) extends StartupError with Product with Serializable
- class ManagedNodes[Node <: CantonNode, NodeConfig <: LocalNodeConfig, NodeParameters <: CantonNodeParameters, NodeBootstrap <: CantonNodeBootstrap[Node]] extends Nodes[Node, NodeBootstrap] with NamedLogging with HasCloseContext with FlagCloseableAsync
Nodes group that can start nodes with the provided configuration and factory
- class MediatorNodes extends ManagedNodes[MediatorNode, MediatorNodeConfig, MediatorNodeParameters, MediatorNodeBootstrap]
- 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, executionContext: ExecutionContext) extends Product with Serializable
- trait Nodes[+Node <: CantonNode, +NodeBootstrap <: CantonNodeBootstrap[Node]] extends FlagCloseable
Group of CantonNodes of the same type (mediators, participants, sequencers).
- class ParticipantNodes[B <: CantonNodeBootstrap[N], N <: CantonNode] extends ManagedNodes[N, ParticipantNodeConfig, ParticipantNodeParameters, B]
- 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
- final class RunningNode[T <: CantonNode] extends BootstrapStageOrLeaf[T]
- class SequencerNodes extends ManagedNodes[SequencerNode, SequencerNodeConfig, 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
- class StoreBasedSynchronizerTopologyInitializationCallback extends SynchronizerTopologyInitializationCallback
- trait SynchronizerTopologyInitializationCallback extends AnyRef
Value Members
- object BootstrapStage
- object CantonNodeBootstrap
- object CantonNodeBootstrapImpl
- object CantonNodeParameters
- object CommunityEnvironmentFactory extends EnvironmentFactory
- object EnterpriseEnvironmentFactory extends EnvironmentFactory
- object Environment
- object MemoryConfigChecker