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 Long
getUnhealthyPendingPeriodMs()
@NotNull List<String>
getUnhealthyStatusCodes()
boolean
isEnabled()
void
setEnabled(boolean enabled)
void
setUnhealthyPendingPeriodMs(@Nullable Long unhealthyPendingPeriodMs)
void
setUnhealthyStatusCodes(@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
-