Class MicrostreamHealthCheck
java.lang.Object
io.helidon.integrations.microstream.health.MicrostreamHealthCheck
- All Implemented Interfaces:
HealthCheck
Microstream health check.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder 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 MicrostreamHealthCheck
create
(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, wait
Methods inherited from interface io.helidon.health.HealthCheck
path, type
-
Method Details
-
name
Description copied from interface:HealthCheck
Name of this health check, used in output when details are requested.- Specified by:
name
in interfaceHealthCheck
- Returns:
- name of this health check, defaults to simple class name
-
call
Description copied from interface:HealthCheck
Call a health check.- Specified by:
call
in 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
-