Package io.camunda.zeebe.test.exporter
Class ExporterTestHarness.Stream
java.lang.Object
io.camunda.zeebe.test.util.stream.StreamWrapper<MockRecord,MockRecordStream>
io.camunda.zeebe.test.exporter.record.MockRecordStream
io.camunda.zeebe.test.exporter.ExporterTestHarness.Stream
- All Implemented Interfaces:
AutoCloseable,BaseStream<MockRecord,,Stream<MockRecord>> Stream<MockRecord>
- Enclosing class:
- ExporterTestHarness
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.stream.Stream
Stream.Builder<T extends Object> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.camunda.zeebe.test.exporter.record.MockRecordStream
generate, generate, supplyMethods inherited from class io.camunda.zeebe.test.util.stream.StreamWrapper
allMatch, anyMatch, asList, await, close, collect, collect, count, distinct, exists, filter, findAny, findFirst, flatMap, flatMapToDouble, flatMapToInt, flatMapToLong, forEach, forEachOrdered, getFirst, getLast, isParallel, iterator, limit, limit, map, mapToDouble, mapToInt, mapToLong, max, min, noneMatch, onClose, parallel, peek, reduce, reduce, reduce, sequential, skip, skipUntil, sorted, sorted, spliterator, toArray, toArray, unorderedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.stream.Stream
dropWhile, mapMulti, mapMultiToDouble, mapMultiToInt, mapMultiToLong, takeWhile, toList
-
Constructor Details
-
Stream
-
-
Method Details
-
export
Short-circuiting method; will export exactly records from this stream to the exporter. Should be called as the last method a chain.- Parameters:
count- amount of records to export
-