abstract class HealthAdministration[S <: Status] extends Helpful with NamedLogging
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- HealthAdministration
- NamedLogging
- Helpful
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new HealthAdministration(runner: AdminCommandRunner, consoleEnvironment: ConsoleEnvironment)
Abstract Value Members
- abstract def loggerFactory: NamedLoggerFactory
- Attributes
- protected
- Definition Classes
- NamedLogging
- abstract def nodeStatusCommand: GrpcAdminCommand[_, _, NodeStatus[S]]
- Attributes
- protected
Concrete 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 active: Boolean
- Annotations
- @Summary(s = "Check if the node is running and is the active instance (mediator, participant)", flag = console.this.Help.Summary.<init>$default$2)
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def dump(outputFile: File = CantonHealthAdministration.defaultHealthDumpName, timeout: NonNegativeDuration = timeouts.unbounded, chunkSize: Option[Int] = None): String
- Annotations
- @Summary(s = "Creates a zip file containing diagnostic information about the canton process running this node", flag = console.this.Help.Summary.<init>$default$2)
- 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
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def has_identity(): Boolean
- Annotations
- @Summary(s = "Returns true if the node has an identity", flag = console.this.Help.Summary.<init>$default$2)
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def help(methodName: String)(implicit consoleEnvironment: ConsoleEnvironment): Unit
- Definition Classes
- Helpful
- Annotations
- @Summary(s = "Help for specific commands (use help() or help(\"method\") for more information)", flag = console.this.Help.Summary.<init>$default$2) @Topic(t = Seq("Top-level Commands"))
- def help()(implicit consoleEnvironment: ConsoleEnvironment): Unit
- Definition Classes
- Helpful
- def initialized(): Boolean
- Annotations
- @Summary(s = "Returns true if node has been initialized.", flag = console.this.Help.Summary.<init>$default$2)
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def is_ready_for_id(): Boolean
- Annotations
- @Summary(s = "Check if the node is ready for setting the node's id", flag = console.this.Help.Summary.<init>$default$2)
- def is_ready_for_initialization(): Boolean
- Annotations
- @Summary(s = "Check if the node is ready for initialization", flag = console.this.Help.Summary.<init>$default$2)
- def is_ready_for_node_topology(): Boolean
- Annotations
- @Summary(s = "Check if the node is ready for uploading the node's identity topology", flag = console.this.Help.Summary.<init>$default$2)
- def is_running(): Boolean
- Annotations
- @Summary(s = "Check if the node is running", flag = console.this.Help.Summary.<init>$default$2)
- def last_error_trace(traceId: String): Seq[String]
- Annotations
- @Summary(s = "Show all messages logged with the given traceId in a recent interval", flag = console.this.Help.Summary.<init>$default$2) @Description(s = "Returns a list of buffered log messages associated to a given trace-id. Usually, the trace-id is taken from last_errors()")
- def last_errors(): Map[String, String]
- Annotations
- @Summary(s = "Show the last errors logged", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """Returns a map with the trace-id as key and the most recent error messages as value. Requires that --log-last-errors is enabled (and not turned off).""")
- def logger: TracedLogger
- Attributes
- protected
- Definition Classes
- NamedLogging
- 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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def set_log_level(level: Level): Unit
- Annotations
- @Summary(s = "Change the log level of the process", flag = console.this.Help.Summary.<init>$default$2) @Description(s = "If the default logback configuration is used, this will change the log level of the process.")
- def status: NodeStatus[S]
- Annotations
- @Summary(s = "Get human (and machine) readable status information", flag = console.this.Help.Summary.<init>$default$2)
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])
- def waitFor(condition: => Boolean): Unit
- Attributes
- protected
- def wait_for_identity(): Unit
- Annotations
- @Summary(s = "Wait for the node to have an identity", flag = console.this.Help.Summary.<init>$default$2)
- def wait_for_initialized(): Unit
- Annotations
- @Summary(s = "Wait for the node to be initialized", flag = console.this.Help.Summary.<init>$default$2)
- def wait_for_ready_for_id(): Unit
- Annotations
- @Summary(s = "Wait for the node to be ready for setting the node's id", flag = console.this.Help.Summary.<init>$default$2)
- def wait_for_ready_for_initialization(): Unit
- Annotations
- @Summary(s = "Wait for the node to be ready for initialization", flag = console.this.Help.Summary.<init>$default$2)
- def wait_for_ready_for_node_topology(): Unit
- Annotations
- @Summary(s = "Wait for the node to be ready for uploading the node's identity topology", flag = console.this.Help.Summary.<init>$default$2)
- def wait_for_running(): Unit
- Annotations
- @Summary(s = "Wait for the node to be running", flag = console.this.Help.Summary.<init>$default$2)