@Singleton @Configurable public class HeartbeatService extends java.lang.Object
Constructor and Description |
---|
HeartbeatService() |
Modifier and Type | Method and Description |
---|---|
void |
init() |
void |
setHeartbeatPeriod(Period period)
How often a heartbeat should be sent.
|
void |
setHeartbeatTimeout(Period period)
Timeout for a valid heartbeat.
|
@Configurable public void setHeartbeatPeriod(Period period)
@Configurable public void setHeartbeatTimeout(Period period)
@PostConstruct public void init()