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.
-
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 io.opentelemetry.instrumentation.kafkaclients.common.v0_11.internal.TracingIterable
iterator, wrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.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
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
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
public boolean addAll(int index, Collection<? extends org.apache.kafka.clients.consumer.ConsumerRecord<K, V>> c) -
removeAll
-
retainAll
-
clear
public void clear() -
get
-
set
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<K>
-
listIterator
- Specified by:
listIteratorin interfaceList<K>
-
listIterator
- Specified by:
listIteratorin interfaceList<K>
-
subList
-