class CommunityEnvironment extends Environment
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CommunityEnvironment
- Environment
- NoTracing
- AutoCloseable
- NamedLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new CommunityEnvironment(config: CantonCommunityConfig, testingConfig: TestingConfigInternal, loggerFactory: NamedLoggerFactory)
Type Members
- type Config = CantonCommunityConfig
- Definition Classes
- CommunityEnvironment → Environment
- type Console = CommunityConsoleEnvironment
- Definition Classes
- CommunityEnvironment → Environment
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def _createConsole(consoleOutput: ConsoleOutput): CommunityConsoleEnvironment
- Attributes
- protected
- Definition Classes
- CommunityEnvironment → Environment
- implicit val actorSystem: ActorSystem
- Definition Classes
- Environment
- def addUserCloseable(closeable: AutoCloseable): Unit
- Definition Classes
- Environment
- def allNodes: List[Nodes[CantonNode, CantonNodeBootstrap[CantonNode]]]
- Attributes
- protected
- Definition Classes
- Environment
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val clock: Clock
- Definition Classes
- Environment
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def close(): Unit
- Definition Classes
- Environment → AutoCloseable
- val config: CantonCommunityConfig
- Definition Classes
- CommunityEnvironment → Environment
- lazy val configuredOpenTelemetry: ConfiguredOpenTelemetry
- Definition Classes
- Environment
- def createClock(nodeTypeAndName: Option[(String, String)]): Clock
- Attributes
- protected
- Definition Classes
- Environment
- def createConsole(consoleOutput: ConsoleOutput = StandardConsoleOutput): Console
- Definition Classes
- Environment
- def createDomain(name: String, domainConfig: DomainConfigType): Either[String, DomainNodeBootstrap]
- Attributes
- protected
- Definition Classes
- Environment
- Annotations
- @VisibleForTesting()
- def createHealthDumpGenerator(commandRunner: GrpcAdminCommandRunner): HealthDumpGenerator[CommunityCantonStatus]
- Definition Classes
- CommunityEnvironment → Environment
- def createParticipant(name: String, participantConfig: ParticipantConfigType): Either[String, ParticipantNodeBootstrap]
- Attributes
- protected
- Definition Classes
- Environment
- Annotations
- @VisibleForTesting()
- val domainFactory: Factory[CommunityDomainConfig]
- Attributes
- protected
- Definition Classes
- CommunityEnvironment → Environment
- lazy val domains: DomainNodes[DomainConfigType]
- Definition Classes
- Environment
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- implicit val executionContext: ExecutionContextIdlenessExecutorService
- Definition Classes
- Environment
- implicit val executionSequencerFactory: ExecutionSequencerFactory
- Definition Classes
- Environment
- val futureSupervisor: FutureSupervisor
- Attributes
- protected
- Definition Classes
- Environment
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- lazy val healthCheck: Option[HealthCheck]
- Attributes
- protected
- Definition Classes
- Environment
- def isEnterprise: Boolean
- Definition Classes
- CommunityEnvironment → Environment
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logger: TracedLogger
- Attributes
- protected
- Definition Classes
- NamedLogging
- val loggerFactory: NamedLoggerFactory
- Definition Classes
- CommunityEnvironment → Environment → NamedLogging
- lazy val metricsFactory: MetricsFactory
- Definition Classes
- Environment
- lazy val migrationsFactory: DbMigrationsFactory
- Attributes
- protected
- Definition Classes
- CommunityEnvironment → Environment
- implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noTracingLogger: Logger
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def now: CantonTimestamp
Return current time of environment
Return current time of environment
- Definition Classes
- Environment
- val participantNodeFactory: Factory[CommunityParticipantConfig, ParticipantNodeBootstrap]
- Attributes
- protected
- Definition Classes
- CommunityEnvironment → Environment
- lazy val participants: ParticipantNodes[ParticipantNodeBootstrap, ParticipantNode, ParticipantConfigType]
- Definition Classes
- Environment
- implicit val scheduler: ScheduledExecutorService
- Definition Classes
- Environment
- val simClock: Option[DelegatingSimClock]
Sim-clock if environment is using static time
Sim-clock if environment is using static time
- Definition Classes
- Environment
- def startAll()(implicit traceContext: TraceContext): Either[StartupError, Unit]
Start all instances described in the configuration
Start all instances described in the configuration
- Definition Classes
- Environment
- def startAndReconnect(autoConnectLocal: Boolean): Either[StartupError, Unit]
Try to startup all nodes in the configured environment and reconnect them to one another.
Try to startup all nodes in the configured environment and reconnect them to one another. The first error will prevent further nodes from being started. If an error is returned previously started nodes will not be stopped.
- Definition Classes
- Environment
- def startNodes(nodes: Seq[(String, Nodes[CantonNode, CantonNodeBootstrap[CantonNode]])])(implicit traceContext: TraceContext): Either[StartupError, Unit]
- Definition Classes
- Environment
- def stopAll()(implicit traceContext: TraceContext): Either[ShutdownError, Unit]
- Definition Classes
- Environment
- def stopNodes(nodes: Seq[(String, Nodes[CantonNode, CantonNodeBootstrap[CantonNode]])])(implicit traceContext: TraceContext): Either[ShutdownError, Unit]
- Definition Classes
- Environment
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val testingConfig: TestingConfigInternal
- Definition Classes
- CommunityEnvironment → Environment
- def timeouts: ProcessingTimeout
- Attributes
- protected
- Definition Classes
- Environment
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit def traceContext: TraceContext
- Attributes
- protected
- Definition Classes
- NoTracing
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val writeHealthDumpToFile: HealthDumpFunction
- Definition Classes
- Environment