Class MetricsObserverConfig.BuilderBase.MetricsObserverConfigImpl
java.lang.Object
io.helidon.webserver.observe.ObserverConfigBase.BuilderBase.ObserverConfigBaseImpl
io.helidon.webserver.observe.metrics.MetricsObserverConfig.BuilderBase.MetricsObserverConfigImpl
- All Implemented Interfaces:
Prototype.Api
,Prototype.Factory<MetricsObserver>
,MetricsObserverConfig
,ObserverConfigBase
,Supplier<MetricsObserver>
- Enclosing class:
MetricsObserverConfig.BuilderBase<BUILDER extends MetricsObserverConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends MetricsObserverConfig>
protected static class MetricsObserverConfig.BuilderBase.MetricsObserverConfigImpl
extends ObserverConfigBase.BuilderBase.ObserverConfigBaseImpl
implements MetricsObserverConfig, Supplier<MetricsObserver>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.webserver.observe.metrics.MetricsObserverConfig
MetricsObserverConfig.Builder, MetricsObserverConfig.BuilderBase<BUILDER extends MetricsObserverConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends MetricsObserverConfig> Nested classes/interfaces inherited from interface io.helidon.webserver.observe.ObserverConfigBase
ObserverConfigBase.Builder, ObserverConfigBase.BuilderBase<BUILDER extends ObserverConfigBase.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends ObserverConfigBase> -
Constructor Summary
ModifierConstructorDescriptionprotected
MetricsObserverConfigImpl
(MetricsObserverConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Methods inherited from class io.helidon.webserver.observe.ObserverConfigBase.BuilderBase.ObserverConfigBaseImpl
enabled, name
-
Constructor Details
-
MetricsObserverConfigImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
build
Description copied from interface:Prototype.Factory
Create a new instance of the runtime type from this config object.- Specified by:
build
in interfacePrototype.Factory<MetricsObserver>
- Returns:
- new configured runtime instance
-
get
- Specified by:
get
in interfaceSupplier<MetricsObserver>
-
endpoint
-
metricsConfig
-
meterRegistry
-
toString
- Overrides:
toString
in classObserverConfigBase.BuilderBase.ObserverConfigBaseImpl
-
equals
- Overrides:
equals
in classObserverConfigBase.BuilderBase.ObserverConfigBaseImpl
-
hashCode
public int hashCode()- Overrides:
hashCode
in classObserverConfigBase.BuilderBase.ObserverConfigBaseImpl
-
name
String name() -
enabled
boolean enabled()Whether this observer is enabled.- Returns:
false
to disable observer
-