Packages

case class DeferredHealthComponent(loggerFactory: NamedLoggerFactory, uninitializedName: String) extends ComponentHealth with NamedLogging with Product with Serializable

Deferred Health component, use when the health component is not instantiated at bootstrap time

uninitializedName

name used to identify this component while it has not been initialized yet

Self Type
DeferredHealthComponent
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DeferredHealthComponent
  2. Serializable
  3. Product
  4. Equals
  5. NamedLogging
  6. ComponentHealth
  7. HealthElement
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DeferredHealthComponent(loggerFactory: NamedLoggerFactory, uninitializedName: String)

    uninitializedName

    name used to identify this component while it has not been initialized yet

Type Members

  1. type HealthListener = (DeferredHealthComponent.this.type, State, TraceContext) => Unit
    Definition Classes
    HealthElement
  2. type State = ComponentState
    Definition Classes
    ComponentHealthHealthElement

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def degradationOccurred(error: String)(implicit tc: TraceContext): Unit

    Report that the component is now degraded.

    Report that the component is now degraded. Note that this will override the component state, even if it is currently failed!

    Definition Classes
    ComponentHealth
  7. def degradationOccurred(error: CantonError)(implicit tc: TraceContext): Unit

    Report that the component is now degraded.

    Report that the component is now degraded. Note that this will override the component state, even if it is currently failed!

    Definition Classes
    ComponentHealth
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  10. def failureOccurred(error: String)(implicit tc: TraceContext): Unit

    Report that the component is now failed

    Report that the component is now failed

    Definition Classes
    ComponentHealth
  11. def failureOccurred(error: CantonError)(implicit tc: TraceContext): Unit

    Report that the component is now failed

    Report that the component is now failed

    Definition Classes
    ComponentHealth
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def getState: State

    Current state

    Current state

    Definition Classes
    DeferredHealthComponentComponentHealthHealthElement
  14. val initialState: ComponentState

    Initial state of the component

    Initial state of the component

    Attributes
    protected
    Definition Classes
    DeferredHealthComponentComponentHealth
  15. def isFailed: Boolean

    Whether the component is in a failed state.

    Whether the component is in a failed state. Note: failed here means exactly _failed_, to know if the component is just unhealthy (i.e degraded or failed), use isUnhealthy.

    Definition Classes
    ComponentHealth
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isNotFailed: Boolean

    Returns true when the component is not in a failed state (for components, degraded is still not failed)

    Returns true when the component is not in a failed state (for components, degraded is still not failed)

    Definition Classes
    DeferredHealthComponentComponentHealthHealthElement
  18. val listeners: AtomicReference[List[HealthListener]]
    Attributes
    protected
    Definition Classes
    HealthElement
  19. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  20. val loggerFactory: NamedLoggerFactory
  21. def name: String

    Name of the health element.

    Name of the health element. Used for logging.

    Definition Classes
    DeferredHealthComponentHealthElement
  22. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. def registerOnHealthChange(listener: HealthListener): Unit
    Definition Classes
    HealthElement
  29. def reportHealthState(state: ComponentState)(implicit tc: TraceContext): Boolean
    Definition Classes
    ComponentHealth
  30. def reportHealthState_(state: ComponentState)(implicit tc: TraceContext): Unit
    Definition Classes
    ComponentHealth
  31. def resolveUnhealthy(implicit traceContext: TraceContext): Boolean

    Set the health state to Ok and if the previous state was unhealthy, log a message to inform about the resolution of the ongoing issue.

    Set the health state to Ok and if the previous state was unhealthy, log a message to inform about the resolution of the ongoing issue.

    Definition Classes
    ComponentHealth
  32. def resolveUnhealthy_(implicit traceContext: TraceContext): Unit
    Definition Classes
    ComponentHealth
  33. def set(element: ComponentHealth): Unit
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. val uninitializedName: String
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. 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 Serializable

Inherited from Product

Inherited from Equals

Inherited from NamedLogging

Inherited from ComponentHealth

Inherited from HealthElement

Inherited from AnyRef

Inherited from Any

Ungrouped