Class MicrostreamMetricsSupport.Builder
java.lang.Object
io.helidon.integrations.microstream.metrics.MicrostreamMetricsSupport.Builder
- All Implemented Interfaces:
Builder<MicrostreamMetricsSupport.Builder,
,MicrostreamMetricsSupport> Supplier<MicrostreamMetricsSupport>
- Enclosing class:
MicrostreamMetricsSupport
public static final class MicrostreamMetricsSupport.Builder
extends Object
implements Builder<MicrostreamMetricsSupport.Builder,MicrostreamMetricsSupport>
A fluent API builder to build instances of
MicrostreamMetricsSupport
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the instance from this builder.config()
get the current configured helidon configuration.set the helidon configuration used by the builder.one.microstream.storage.embedded.types.EmbeddedStorageManager
get the current configuredEmbeddedStorageManager.get the current configured MetricsFactory.metricsFactory
(MetricsFactory metricsFactory) set the MetricsFactory.
-
Method Details
-
build
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<MicrostreamMetricsSupport.Builder,
MicrostreamMetricsSupport> - Returns:
- instance of the built type
-
metricsFactory
get the current configured MetricsFactory.- Returns:
- MetricsFactory
-
embeddedStorageManager
public one.microstream.storage.embedded.types.EmbeddedStorageManager embeddedStorageManager()get the current configuredEmbeddedStorageManager.- Returns:
- EmbeddedStorageManager
-
config
get the current configured helidon configuration.- Returns:
- Config
-
metricsFactory
set the MetricsFactory.- Parameters:
metricsFactory
- metrics factory- Returns:
- MicrostreamMetricsSupport builder
-
config
set the helidon configuration used by the builder.- Parameters:
config
- configuration- Returns:
- MicrostreamMetricsSupport builder
-