- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
ScopingConfig.BuilderBase.ScopingConfigImpl
Interface generated from definition. Please add javadoc to the definition interface.
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Fluent API builder forScopingConfig
.static class
ScopingConfig.BuilderBase<BUILDER extends ScopingConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends ScopingConfig> Fluent API builder base forScopingConfig
. -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Default tag name for recording a meter's scope as a tag. -
Method Summary
Modifier and TypeMethodDescriptionstatic ScopingConfig.Builder
builder()
Create a new fluent API builder to customize configuration.static ScopingConfig.Builder
builder
(ScopingConfig instance) Create a new fluent API builder from an existing instance.static ScopingConfig
create()
Create a new instance with default values.static ScopingConfig
Create a new instance from configuration.Default scope value to associate with meters that are registered without an explicit setting; no setting means meters are assigned scope "application".scopes()
Settings for individual scopes.tagName()
Tag name for storing meter scope values in the underlying implementation meter registry.
-
Field Details
-
SCOPE_TAG_NAME_DEFAULT
Default tag name for recording a meter's scope as a tag.- See Also:
-
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance
- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config
- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Create a new instance with default values.- Returns:
- a new instance
-
defaultValue
Default scope value to associate with meters that are registered without an explicit setting; no setting means meters are assigned scope "application".- Returns:
- default scope value
-
tagName
Tag name for storing meter scope values in the underlying implementation meter registry.- Returns:
- tag name for storing scope values
-
scopes
Map<String,ScopeConfig> scopes()Settings for individual scopes.- Returns:
- scope settings
-