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