接口 SpanProcessors
- 所有超级接口:
Iterable<io.opentelemetry.sdk.trace.SpanProcessor>
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
@FunctionalInterface
public interface SpanProcessors
extends Iterable<io.opentelemetry.sdk.trace.SpanProcessor>
A collection of
span processors
.- 从以下版本开始:
- 3.2.0
- 作者:
- Moritz Halbritter
-
方法概要
修饰符和类型方法说明default Iterator
<io.opentelemetry.sdk.trace.SpanProcessor> iterator()
List
<io.opentelemetry.sdk.trace.SpanProcessor> list()
Returns the list ofspan processors
.static SpanProcessors
of
(io.opentelemetry.sdk.trace.SpanProcessor... spanProcessors) Constructs aSpanProcessors
instance with the givenspan processors
.static SpanProcessors
of
(Collection<? extends io.opentelemetry.sdk.trace.SpanProcessor> spanProcessors) Constructs aSpanProcessors
instance with the given list ofspan processors
.default Spliterator
<io.opentelemetry.sdk.trace.SpanProcessor>
-
方法详细资料
-
list
List<io.opentelemetry.sdk.trace.SpanProcessor> list()Returns the list ofspan processors
.- 返回:
- the list of span processors
-
iterator
-
spliterator
- 指定者:
spliterator
在接口中Iterable<io.opentelemetry.sdk.trace.SpanProcessor>
-
of
Constructs aSpanProcessors
instance with the givenspan processors
.- 参数:
spanProcessors
- the span processors- 返回:
- the constructed
SpanProcessors
instance
-
of
static SpanProcessors of(Collection<? extends io.opentelemetry.sdk.trace.SpanProcessor> spanProcessors) Constructs aSpanProcessors
instance with the given list ofspan processors
.- 参数:
spanProcessors
- the list of span processors- 返回:
- the constructed
SpanProcessors
instance
-