Interface SpanProcessors
- All Superinterfaces:
Iterable<SpanProcessor>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A collection of
span processors.- Since:
- 4.0.0
- Author:
- Moritz Halbritter
-
Method Summary
Modifier and TypeMethodDescriptiondefault Iterator<SpanProcessor> iterator()list()Returns the list ofspan processors.static SpanProcessorsof(SpanProcessor... spanProcessors) Constructs aSpanProcessorsinstance with the givenspan processors.static SpanProcessorsof(Collection<? extends SpanProcessor> spanProcessors) Constructs aSpanProcessorsinstance with the given list ofspan processors.default Spliterator<SpanProcessor>
-
Method Details
-
list
List<SpanProcessor> list()Returns the list ofspan processors.- Returns:
- the list of span processors
-
iterator
- Specified by:
iteratorin interfaceIterable<SpanProcessor>
-
spliterator
- Specified by:
spliteratorin interfaceIterable<SpanProcessor>
-
of
Constructs aSpanProcessorsinstance with the givenspan processors.- Parameters:
spanProcessors- the span processors- Returns:
- the constructed
SpanProcessorsinstance
-
of
Constructs aSpanProcessorsinstance with the given list ofspan processors.- Parameters:
spanProcessors- the list of span processors- Returns:
- the constructed
SpanProcessorsinstance
-