@ConfigurationProperties(value="endpoints.health.r2dbc")
public class R2dbcHealthConfiguration
extends java.lang.Object
R2dbcHealthIndicator
Constructor and Description |
---|
R2dbcHealthConfiguration() |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.lang.String> |
getHealthQuery(java.lang.String metadataName) |
boolean |
isEnabled() |
public boolean isEnabled()
public java.util.Optional<java.lang.String> getHealthQuery(java.lang.String metadataName)
metadataName
- name of r2dbc driver from metadata ConnectionFactoryMetadata.getName()
R2dbcHealthProperties.COMMON_QUERY