Package com.github.jpmsilva.jsystemd
Class SystemdHealthProviderProperties
java.lang.Object
com.github.jpmsilva.jsystemd.SystemdHealthProviderProperties
@ConfigurationProperties(prefix="systemd.health-provider") public class SystemdHealthProviderProperties extends Object
Properties class for systemd integration when using Spring Boot Actuator.
- Author:
- Christian Lorenz
- 
Constructor SummaryConstructors Constructor Description SystemdHealthProviderProperties()
- 
Method SummaryModifier and Type Method Description @Nullable LonggetUnhealthyPendingPeriodMs()@NotNull List<String>getUnhealthyStatusCodes()booleanisEnabled()voidsetEnabled(boolean enabled)voidsetUnhealthyPendingPeriodMs(@Nullable Long unhealthyPendingPeriodMs)voidsetUnhealthyStatusCodes(@NotNull List<String> unhealthyStatusCodes)
- 
Constructor Details- 
SystemdHealthProviderPropertiespublic SystemdHealthProviderProperties()
 
- 
- 
Method Details- 
isEnabledpublic boolean isEnabled()
- 
setEnabledpublic void setEnabled(boolean enabled)
- 
getUnhealthyStatusCodes
- 
setUnhealthyStatusCodes
- 
getUnhealthyPendingPeriodMs
- 
setUnhealthyPendingPeriodMs
 
-