Class HeartbeatTask

java.lang.Object
io.micronaut.health.HeartbeatTask
All Implemented Interfaces:
ApplicationEventListener<ServiceReadyEvent>, EventListener

@Singleton @HeartbeatEnabled public class HeartbeatTask extends Object implements ApplicationEventListener<ServiceReadyEvent>
A scheduled task that sends a periodic heartbeat whilst the server is active.
Since:
1.0
Author:
graemerocher