c

com.digitalasset.canton.environment

CantonNodeBootstrapBase

abstract class CantonNodeBootstrapBase[T <: CantonNode, NodeConfig <: LocalNodeConfig, ParameterConfig <: LocalNodeParameters] extends CantonNodeBootstrap[T] with NoTracing

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

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

Instance Constructors

  1. new CantonNodeBootstrapBase(name: LengthLimitedString, config: NodeConfig, parameterConfig: ParameterConfig, clock: Clock, nodeMetrics: NodeMetrics, storageFactory: StorageFactory, loggerFactory: NamedLoggerFactory)(implicit executionContext: ExecutionContextIdlenessExecutorService, actorSystem: ActorSystem)

Abstract Value Members

  1. abstract def autoInitializeIdentity(): EitherT[Future, String, Unit]

    Generate an identity for the node.

    Generate an identity for the node.

    Attributes
    protected
  2. abstract def initialize(uid: NodeId): EitherT[Future, String, Unit]

    Attempt to start the node with this identity.

    Attempt to start the node with this identity.

    Attributes
    protected
  3. abstract def isActive: Boolean
    Attributes
    protected

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. val adminApiConfig: AdminServerConfig
    Attributes
    protected
  6. val adminServer: CloseableServer
    Attributes
    protected
  7. val adminServerRegistry: CantonMutableHandlerRegistry
    Attributes
    protected
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def authorizeDomainGovernance[E <: CantonError](manager: TopologyManager[E], key: PublicKey, mapping: DomainGovernanceMapping)(implicit traceContext: TraceContext): EitherT[Future, String, SignedTopologyTransaction[Replace]]
    Attributes
    protected
  10. def authorizeStateUpdate[E <: CantonError](manager: TopologyManager[E], key: PublicKey, mapping: TopologyStateUpdateMapping)(implicit traceContext: TraceContext): EitherT[Future, String, SignedTopologyTransaction[Add]]
    Attributes
    protected
  11. val certificateGenerator: X509CertificateGenerator
  12. val clock: Clock
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  14. def close(): Unit
    Definition Classes
    CantonNodeBootstrapBase → AutoCloseable
  15. def connectionPoolForParticipant: Boolean
    Attributes
    protected
  16. val crypto: Crypto

    Access to the private and public store to support local key inspection commands

    Access to the private and public store to support local key inspection commands

    Definition Classes
    CantonNodeBootstrapBaseCantonNodeBootstrap
  17. val cryptoConfig: CryptoConfig
    Attributes
    protected
  18. val dbStorageMetrics: DbStorageMetrics
    Attributes
    protected
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  21. implicit val executionContext: ExecutionContextIdlenessExecutorService
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def getId: Option[NodeId]
  24. def getNode: Option[T]
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. val indexedStringStore: IndexedStringStore
    Attributes
    protected
  27. val initConfig: InitConfigBase
    Attributes
    protected
  28. val initializationStore: InitializationStore
    Attributes
    protected
  29. def initializeWithProvidedId(nodeId: NodeId): EitherT[Future, String, Unit]

    Initialize the node with an externally provided identity.

    Initialize the node with an externally provided identity.

    Definition Classes
    CantonNodeBootstrapBaseCantonNodeBootstrap
  30. def isInitialized: Boolean
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. def isRunning: Boolean
    Attributes
    protected
  33. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  34. val loggerFactory: NamedLoggerFactory
  35. implicit def loggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  36. val name: LengthLimitedString
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  39. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  40. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  41. def setInstance(instance: T): Unit
    Attributes
    protected
  42. def start(): EitherT[Future, String, Unit]

    Attempt to start the node.

    Attempt to start the node. If a previously initialized identifier is available the node will be immediately initialized. If there is no existing identity and autoinit is enabled an identity will be automatically generated and then the node will initialize. If there is no existing identity and autoinit is disabled start will immediately exit to wait for an identity to be externally provided through initializeWithProvidedId.

    Definition Classes
    CantonNodeBootstrapBaseCantonNodeBootstrap
  43. def startWithStoredId(id: NodeId): EitherT[Future, String, Unit]
    Attributes
    protected
  44. val storage: Storage
    Attributes
    protected
  45. final def storeId(id: NodeId): EitherT[Future, String, Unit]
  46. val supportsReplicaInitialization: Boolean

    Can this node be initialized by a replica

    Can this node be initialized by a replica

    Attributes
    protected
  47. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  48. def toString(): String
    Definition Classes
    AnyRef → Any
  49. val topologyStoreFactory: TopologyStoreFactory
    Attributes
    protected
  50. implicit def traceContext: TraceContext
    Attributes
    protected
    Definition Classes
    NoTracing
  51. implicit val tracer: Tracer
  52. val tracerProvider: TracerProvider
    Attributes
    protected
  53. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  54. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  55. 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 CantonNodeBootstrap[T]

Inherited from NamedLogging

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped