Package

io.github.lhotari.akka.http

health

Permalink

package health

Visibility
  1. Public
  2. All

Type Members

  1. trait HealthChecker extends AnyRef

    Permalink
  2. trait HealthEndpoint extends AnyRef

    Permalink
  3. class LowDiskSpaceDetector extends HealthChecker

    Permalink
  4. class LowMemoryDetector extends HealthChecker

    Permalink

    Detects low memory condition by using JMX API for consuming memory usage and garbage collection notification events.

    Detects low memory condition by using JMX API for consuming memory usage and garbage collection notification events.

    Uses MemoryPoolMXBean's JMX API to set collection usage threshold. The listener is registered to MemoryMXBean. Garbage collection notification API is also used. This is used to detect if memory usage drops below the threshold after crossing the threshold.

Value Members

  1. object HealthEndpoint extends HealthEndpoint

    Permalink

Ungrouped