Package io.opentelemetry.sdk.internal
Interface ScopeConfigurator<T>
-
- All Superinterfaces:
java.util.function.Function<InstrumentationScopeInfo,T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ScopeConfigurator<T> extends java.util.function.Function<InstrumentationScopeInfo,T>
AScopeConfigurator
computes configuration for a givenInstrumentationScopeInfo
.This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static <T> ScopeConfiguratorBuilder<T>
builder()
Create a new builder.default ScopeConfiguratorBuilder<T>
toBuilder()
Convert thisScopeConfigurator
to a builder.
-
-
-
Method Detail
-
builder
static <T> ScopeConfiguratorBuilder<T> builder()
Create a new builder.
-
toBuilder
default ScopeConfiguratorBuilder<T> toBuilder()
Convert thisScopeConfigurator
to a builder. Additional added matchers only apply whenFunction.apply(Object)
returnsnull
. If this configurator containsScopeConfiguratorBuilder.setDefault(Object)
, additional matchers are never applied.
-
-