Class MicrostreamHealthCheck
java.lang.Object
io.helidon.integrations.microstream.health.MicrostreamHealthCheck
- All Implemented Interfaces:
HealthCheck
Microstream health check.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for MicrostreamHealthCheck. -
Method Summary
Modifier and TypeMethodDescriptionbuilder(one.microstream.storage.embedded.types.EmbeddedStorageManager embeddedStorageManager) A fluent API builder to create a health check for Microstream.call()Call a health check.static MicrostreamHealthCheckcreate(one.microstream.storage.embedded.types.EmbeddedStorageManager embeddedStorageManager) Create a default health check for Microstream.name()Name of this health check, used in output when details are requested.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.health.HealthCheck
path, type
-
Method Details
-
name
Description copied from interface:HealthCheckName of this health check, used in output when details are requested.- Specified by:
namein interfaceHealthCheck- Returns:
- name of this health check, defaults to simple class name
-
call
Description copied from interface:HealthCheckCall a health check.- Specified by:
callin interfaceHealthCheck- Returns:
- health response
-
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
-