Package io.quarkus.mongodb.health
Class MongoHealthCheck
- java.lang.Object
-
- io.quarkus.mongodb.health.MongoHealthCheck
-
- All Implemented Interfaces:
org.eclipse.microprofile.health.HealthCheck
@Readiness @ApplicationScoped public class MongoHealthCheck extends Object implements org.eclipse.microprofile.health.HealthCheck
-
-
Field Summary
Fields Modifier and Type Field Description static String
CLIENT_DEFAULT
static String
CLIENT_DEFAULT_REACTIVE
-
Constructor Summary
Constructors Constructor Description MongoHealthCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.microprofile.health.HealthCheckResponse
call()
void
configure(MongodbConfig config)
-
-
-
Field Detail
-
CLIENT_DEFAULT
public static final String CLIENT_DEFAULT
- See Also:
- Constant Field Values
-
CLIENT_DEFAULT_REACTIVE
public static final String CLIENT_DEFAULT_REACTIVE
- See Also:
- Constant Field Values
-
-
Method Detail
-
configure
public void configure(MongodbConfig config)
-
call
public org.eclipse.microprofile.health.HealthCheckResponse call()
- Specified by:
call
in interfaceorg.eclipse.microprofile.health.HealthCheck
-
-