com.digitalasset.canton.admin.api.client.data
ComponentHealthState
Companion trait ComponentHealthState
object ComponentHealthState extends ShowUtil
- Alphabetic
- By Inheritance
- ComponentHealthState
- ShowUtil
- ShowSyntax
- ToShowOps
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
-   final  case class Degraded(state: UnhealthyState = UnhealthyState()) extends ComponentHealthState with HasUnhealthyState with Product with SerializableDegraded state, as in not fully but still functional. Degraded state, as in not fully but still functional. A degraded component will NOT cause a service to report NOT_SERVING - state
- data 
 
-   final  case class Failed(state: UnhealthyState = UnhealthyState()) extends ComponentHealthState with HasUnhealthyState with Product with SerializableThe component has failed, any service that depends on it will report NOT_SERVING The component has failed, any service that depends on it will report NOT_SERVING - state
- data 
 
-   final  case class Fatal(state: UnhealthyState = UnhealthyState()) extends ComponentHealthState with HasUnhealthyState with Product with SerializableUsed to indicate liveness problem, when the node should be restarted externally Used to indicate liveness problem, when the node should be restarted externally - state
- data 
 
-  trait HasUnhealthyState extends AnyRef
-   final  case class Ok(description: Option[String] = None) extends ComponentHealthState with Product with SerializableOk state 
-   final  case class UnhealthyState(description: Option[String] = None, error: Option[BaseError] = None, elc: Option[ErrorLoggingContext] = None) extends Product with SerializableUnhealthy state data Unhealthy state data - description
- description of the state 
- error
- associated canton error 
 
-   implicit  class ShowAnyRefSyntax extends AnyRef- Definition Classes
- ShowUtil
 
-   implicit  class ShowEitherSyntax[L, R] extends AnyRefEnables the syntax show"${myEither.showMerged}".Enables the syntax show"${myEither.showMerged}".- Definition Classes
- ShowUtil
 
-   implicit  class ShowLengthLimitedStringSyntax extends StringOperators- Definition Classes
- ShowUtil
 
-   implicit  class ShowLengthLimitedStringWrapperSyntax extends StringOperators- Definition Classes
- ShowUtil
 
-   implicit  class ShowOptionSyntax[T] extends AnyRef- Definition Classes
- ShowUtil
 
-   implicit  class ShowProductSyntax extends AnyRef- Definition Classes
- ShowUtil
- Annotations
- @SuppressWarnings()
 
-   implicit  class ShowStringSyntax extends StringOperators- Definition Classes
- ShowUtil
 
-   implicit  class ShowTraversableSyntax[T] extends AnyRefEnables syntax like show"Found several elements: ${myCollection.mkShow()}".Enables syntax like show"Found several elements: ${myCollection.mkShow()}".- Definition Classes
- ShowUtil
 
-   abstract  class StringOperators extends AnyRefEnables syntax like show"This is a string: ${myString.doubleQuoted}"andshow"This is a hash: ${myHash.readableHash}".Enables syntax like show"This is a string: ${myString.doubleQuoted}"andshow"This is a hash: ${myHash.readableHash}".- Definition Classes
- ShowUtil
 
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
 
-  val NotInitializedState: ComponentHealthState
-  val ShutdownState: ComponentHealthState
-   final  def asInstanceOf[T0]: T0- Definition Classes
- Any
 
-    def clone(): AnyRef- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
 
-  implicit val componentHealthStateEncoder: Encoder[ComponentHealthState]
-  def degraded(description: String): Degraded
-   final  def eq(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def equals(arg0: AnyRef): Boolean- Definition Classes
- AnyRef → Any
 
-  def failed(description: String): Failed
-  def fatal(description: String): Fatal
-   final  def getClass(): Class[_ <: AnyRef]- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
 
-    def hashCode(): Int- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
 
-   final  def isInstanceOf[T0]: Boolean- Definition Classes
- Any
 
-   final  def ne(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-   final  def notify(): Unit- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
 
-   final  def notifyAll(): Unit- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
 
-  implicit val prettyComponentHealthState: Pretty[ComponentHealthState]
-   implicit final  def showInterpolator(sc: StringContext): ShowInterpolator- Definition Classes
- ShowSyntax
 
-   implicit  def showPretty[T](implicit arg0: Pretty[T]): Show[T]Enables the syntax show"This object is pretty: $myPrettyType".Enables the syntax show"This object is pretty: $myPrettyType".- Definition Classes
- ShowUtil
 
-   final  def synchronized[T0](arg0: => T0): T0- Definition Classes
- AnyRef
 
-   implicit  def toShow[A](target: A)(implicit tc: Show[A]): Ops[A]- Definition Classes
- ToShowOps
 
-    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])
 
-  object Degraded extends Serializable
-  object Failed extends Serializable
-  object HasUnhealthyState
-  object Ok extends Serializable
-  object Unhealthy
-  object UnhealthyState extends Serializable