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