Class TracingList<K,V>
java.lang.Object
io.opentelemetry.instrumentation.kafkaclients.common.v0_11.internal.TracingIterable<K,V>
io.opentelemetry.instrumentation.kafkaclients.common.v0_11.internal.TracingList<K,V>
- All Implemented Interfaces:
Iterable<org.apache.kafka.clients.consumer.ConsumerRecord<K,V>>, Collection<org.apache.kafka.clients.consumer.ConsumerRecord<K, V>>, List<org.apache.kafka.clients.consumer.ConsumerRecord<K, V>>, SequencedCollection<org.apache.kafka.clients.consumer.ConsumerRecord<K, V>>
public class TracingList<K,V>
extends TracingIterable<K,V>
implements List<org.apache.kafka.clients.consumer.ConsumerRecord<K,V>>
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Field Summary
Fields inherited from class TracingIterable
consumerContext, instrumenter, wrappingEnabled -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends org.apache.kafka.clients.consumer.ConsumerRecord<K, V>> c) booleanaddAll(Collection<? extends org.apache.kafka.clients.consumer.ConsumerRecord<K, V>> c) voidclear()booleanbooleancontainsAll(Collection<?> c) get(int index) intbooleanisEmpty()intListIterator<org.apache.kafka.clients.consumer.ConsumerRecord<K, V>> ListIterator<org.apache.kafka.clients.consumer.ConsumerRecord<K, V>> listIterator(int index) remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()subList(int fromIndex, int toIndex) Object[]toArray()<T> T[]toArray(T[] a) static <K,V> List <org.apache.kafka.clients.consumer.ConsumerRecord<K, V>> wrap(List<org.apache.kafka.clients.consumer.ConsumerRecord<K, V>> delegate, io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<KafkaProcessRequest, Void> instrumenter, BooleanSupplier wrappingEnabled, KafkaConsumerContext consumerContext) Methods inherited from class TracingIterable
forEach, iterator, wrapMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
addFirst, addLast, equals, getFirst, getLast, hashCode, iterator, removeFirst, removeLast, replaceAll, reversed, sort, spliterator
-
Method Details
-
wrap
public static <K,V> List<org.apache.kafka.clients.consumer.ConsumerRecord<K,V>> wrap(List<org.apache.kafka.clients.consumer.ConsumerRecord<K, V>> delegate, io.opentelemetry.instrumentation.api.instrumenter.Instrumenter<KafkaProcessRequest, Void> instrumenter, BooleanSupplier wrappingEnabled, KafkaConsumerContext consumerContext) -
size
-
isEmpty
-
contains
-
toArray
-
toArray
-
add
-
add
-
remove
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<K>- Specified by:
containsAllin interfaceList<K>
-
addAll
public boolean addAll(Collection<? extends org.apache.kafka.clients.consumer.ConsumerRecord<K, V>> c) -
addAll
-
removeAll
-
retainAll
-
clear
-
get
-
set
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<K>
-
listIterator
- Specified by:
listIteratorin interfaceList<K>
-
listIterator
- Specified by:
listIteratorin interfaceList<K>
-
subList
-