所有超级接口:
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>
     
    List<io.opentelemetry.sdk.trace.SpanProcessor>
    Returns the list of span processors.
    of(io.opentelemetry.sdk.trace.SpanProcessor... spanProcessors)
    Constructs a SpanProcessors instance with the given span processors.
    of(Collection<? extends io.opentelemetry.sdk.trace.SpanProcessor> spanProcessors)
    Constructs a SpanProcessors instance with the given list of span processors.
    default Spliterator<io.opentelemetry.sdk.trace.SpanProcessor>
     

    从接口继承的方法 java.lang.Iterable

    forEach
  • 方法详细资料

    • list

      List<io.opentelemetry.sdk.trace.SpanProcessor> list()
      Returns the list of span processors.
      返回:
      the list of span processors
    • iterator

      default Iterator<io.opentelemetry.sdk.trace.SpanProcessor> iterator()
      指定者:
      iterator 在接口中 Iterable<io.opentelemetry.sdk.trace.SpanProcessor>
    • spliterator

      default Spliterator<io.opentelemetry.sdk.trace.SpanProcessor> spliterator()
      指定者:
      spliterator 在接口中 Iterable<io.opentelemetry.sdk.trace.SpanProcessor>
    • of

      static SpanProcessors of(io.opentelemetry.sdk.trace.SpanProcessor... spanProcessors)
      Constructs a SpanProcessors instance with the given span processors.
      参数:
      spanProcessors - the span processors
      返回:
      the constructed SpanProcessors instance
    • of

      static SpanProcessors of(Collection<? extends io.opentelemetry.sdk.trace.SpanProcessor> spanProcessors)
      Constructs a SpanProcessors instance with the given list of span processors.
      参数:
      spanProcessors - the list of span processors
      返回:
      the constructed SpanProcessors instance