Class MicrostreamHealthCheck
- java.lang.Object
-
- io.helidon.integrations.microstream.health.MicrostreamHealthCheck
-
- All Implemented Interfaces:
HealthCheck
public class MicrostreamHealthCheck extends Object implements HealthCheck
Microstream health check.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MicrostreamHealthCheck.Builder
Builder for MicrostreamHealthCheck.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MicrostreamHealthCheck.Builder
builder(one.microstream.storage.embedded.types.EmbeddedStorageManager embeddedStorageManager)
A fluent API builder to create a health check for Microstream.HealthCheckResponse
call()
static MicrostreamHealthCheck
create(one.microstream.storage.embedded.types.EmbeddedStorageManager embeddedStorageManager)
Create a default health check for Microstream.
-
-
-
Method Detail
-
call
public HealthCheckResponse call()
- Specified by:
call
in interfaceHealthCheck
-
create
public static MicrostreamHealthCheck create(one.microstream.storage.embedded.types.EmbeddedStorageManager embeddedStorageManager)
Create a default health check for Microstream.- Parameters:
embeddedStorageManager
- the EmbeddedStorageManager used by the the health check- Returns:
- default health check for Microstream
-
builder
public static MicrostreamHealthCheck.Builder builder(one.microstream.storage.embedded.types.EmbeddedStorageManager embeddedStorageManager)
A fluent API builder to create a health check for Microstream.- Parameters:
embeddedStorageManager
- EmbeddedStorageManager- Returns:
- a new builder
-
-