class MemoryStorage extends Storage with NamedLogging

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MemoryStorage
  2. NamedLogging
  3. Storage
  4. ComponentHealth
  5. HealthElement
  6. AutoCloseable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new MemoryStorage(loggerFactory: NamedLoggerFactory)

Type Members

  1. type HealthListener = (MemoryStorage.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 close(): Unit
    Definition Classes
    MemoryStorage → AutoCloseable
  7. 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
  8. 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
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  12. 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
  13. 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
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def getState: ComponentState

    Current state

    Current state

    Definition Classes
    ComponentHealthHealthElement
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. val initialState: ComponentState

    Initial state of the component

    Initial state of the component

    Definition Classes
    MemoryStorageComponentHealth
  18. def isActive: Boolean

    Indicates if the storage instance is active and ready to perform updates/writes.

    Indicates if the storage instance is active and ready to perform updates/writes.

    Definition Classes
    MemoryStorageStorage
  19. 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
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. 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
    ComponentHealthHealthElement
  22. val listeners: AtomicReference[List[HealthListener]]
    Attributes
    protected
    Definition Classes
    HealthElement
  23. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  24. val loggerFactory: NamedLoggerFactory
    Definition Classes
    MemoryStorageNamedLogging
  25. val name: String

    Name of the health element.

    Name of the health element. Used for logging.

    Definition Classes
    MemoryStorageHealthElement
  26. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. def registerOnHealthChange(listener: HealthListener): Unit
    Definition Classes
    HealthElement
  32. def reportHealthState(state: ComponentState)(implicit tc: TraceContext): Boolean
    Definition Classes
    ComponentHealth
  33. def reportHealthState_(state: ComponentState)(implicit tc: TraceContext): Unit
    Definition Classes
    ComponentHealth
  34. 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
  35. def resolveUnhealthy_(implicit traceContext: TraceContext): Unit
    Definition Classes
    ComponentHealth
  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  40. 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 NamedLogging

Inherited from Storage

Inherited from ComponentHealth

Inherited from HealthElement

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped