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 Summary
Constructors Constructor Description SystemdHealthProviderProperties() -
Method Summary
Modifier 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
-
SystemdHealthProviderProperties
public SystemdHealthProviderProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getUnhealthyStatusCodes
-
setUnhealthyStatusCodes
-
getUnhealthyPendingPeriodMs
-
setUnhealthyPendingPeriodMs
-