trait Environment extends NamedLogging with AutoCloseable with NoTracing

Holds all significant resources held by this process.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Environment
  2. NoTracing
  3. AutoCloseable
  4. NamedLogging
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type Config <: CantonConfig
  2. abstract type Console <: ConsoleEnvironment

Abstract Value Members

  1. abstract val config: Config
  2. abstract def createConsole(consoleOutput: ConsoleOutput = StandardConsoleOutput, createAdminCommandRunner: (ConsoleEnvironment) => ConsoleGrpcAdminCommandRunner = new ConsoleGrpcAdminCommandRunner(_)): Console
  3. abstract def domainFactory: Factory[Config.DomainConfigType]
    Attributes
    protected
  4. abstract def isEnterprise: Boolean
  5. abstract val loggerFactory: NamedLoggerFactory
    Definition Classes
    EnvironmentNamedLogging
  6. abstract def migrationsFactory: DbMigrationsFactory
    Attributes
    protected
  7. abstract def participantNodeFactory: Factory[Config.ParticipantConfigType]
    Attributes
    protected
  8. abstract val testingConfig: TestingConfigInternal

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. implicit val actorSystem: ActorSystem
  5. def addUserCloseable(closeable: AutoCloseable): Unit
  6. def allNodes: List[Nodes[CantonNode, CantonNodeBootstrap[CantonNode]]]
    Attributes
    protected
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val clock: Clock
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. def close(): Unit
    Definition Classes
    Environment → AutoCloseable
  11. def createClock(nodeTypeAndName: Option[(String, String)]): Clock
    Attributes
    protected
  12. def createDomain(name: String, domainConfig: Config.DomainConfigType): DomainNodeBootstrap
    Attributes
    protected
    Annotations
    @VisibleForTesting()
  13. def createParticipant(name: String, participantConfig: Config.ParticipantConfigType): ParticipantNodeBootstrap
    Attributes
    protected
    Annotations
    @VisibleForTesting()
  14. lazy val domains: DomainNodes[Config.DomainConfigType]
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. implicit val executionContext: ExecutionContextIdlenessExecutorService
  18. implicit val executionSequencerFactory: ExecutionSequencerFactory
  19. val futureSupervisor: FutureSupervisor
    Attributes
    protected
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  24. implicit def loggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  25. val metricsFactory: MetricsFactory
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. def now: CantonTimestamp

    Return current time of environment

  31. lazy val participants: ParticipantNodes[Config.ParticipantConfigType]
  32. implicit val scheduler: ScheduledExecutorService
  33. val simClock: Option[DelegatingSimClock]

    Sim-clock if environment is using static time

  34. def startAll(): Either[Seq[StartupError], Unit]

    Start all instances described in the configuration

  35. 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.

  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. implicit def traceContext: TraceContext
    Attributes
    protected
    Definition Classes
    NoTracing
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from NoTracing

Inherited from AutoCloseable

Inherited from NamedLogging

Inherited from AnyRef

Inherited from Any

Ungrouped