Uses of Class
io.confluent.parallelconsumer.WorkContainer
| Package | Description |
|---|---|
| io.confluent.parallelconsumer |
-
Uses of WorkContainer in io.confluent.parallelconsumer
Methods in io.confluent.parallelconsumer that return WorkContainer Modifier and Type Method Description WorkContainer<K,V>WorkManager. getWorkContainerForRecord(org.apache.kafka.clients.consumer.ConsumerRecord<K,V> rec)Methods in io.confluent.parallelconsumer that return types with arguments of type WorkContainer Modifier and Type Method Description <R> java.util.List<WorkContainer<K,V>>WorkManager. maybeGetWork()Get work with no limit on quantity, useful for testing.java.util.List<WorkContainer<K,V>>WorkManager. maybeGetWork(int requestedMaxWorkToRetrieve)Depth first work retrieval.Methods in io.confluent.parallelconsumer with parameters of type WorkContainer Modifier and Type Method Description protected voidParallelEoSStreamProcessor. addToMailbox(WorkContainer<K,V> wc)protected voidParallelEoSStreamProcessor. addToMailBoxOnUserFunctionSuccess(WorkContainer<K,V> wc, java.util.List<?> resultsFromUserFunction)intWorkContainer. compareTo(WorkContainer o)protected voidWorkManager. handleFutureResult(WorkContainer<K,V> wc)voidWorkManager. onFailure(WorkContainer<K,V> wc)voidWorkManager. onSuccess(WorkContainer<K,V> wc)protected voidParallelEoSStreamProcessor. onUserFunctionSuccess(WorkContainer<K,V> wc, java.util.List<?> resultsFromUserFunction)protected <R> java.util.List<ParallelConsumer.Tuple<org.apache.kafka.clients.consumer.ConsumerRecord<K,V>,R>>ParallelEoSStreamProcessor. userFunctionRunner(java.util.function.Function<org.apache.kafka.clients.consumer.ConsumerRecord<K,V>,java.util.List<R>> usersFunction, java.util.function.Consumer<R> callback, WorkContainer<K,V> wc)Run the supplied function.