io.github.lhotari.akka.http.health
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.
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.