Package io.zeebe.test.util.record
Class TimerRecordStream
- java.lang.Object
-
- io.zeebe.test.util.stream.StreamWrapper<Record<T>,S>
-
- io.zeebe.test.util.record.ExporterRecordStream<TimerRecordValue,TimerRecordStream>
-
- io.zeebe.test.util.record.TimerRecordStream
-
- All Implemented Interfaces:
AutoCloseable,BaseStream<Record<TimerRecordValue>,Stream<Record<TimerRecordValue>>>,Stream<Record<TimerRecordValue>>
public class TimerRecordStream extends ExporterRecordStream<TimerRecordValue,TimerRecordStream>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface java.util.stream.Stream
Stream.Builder<T extends Object>
-
-
Constructor Summary
Constructors Constructor Description TimerRecordStream(Stream<Record<TimerRecordValue>> wrappedStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TimerRecordStreamsupply(Stream<Record<TimerRecordValue>> wrappedStream)TimerRecordStreamwithDueDate(long dueDate)TimerRecordStreamwithElementInstanceKey(long elementInstanceKey)TimerRecordStreamwithHandlerNodeId(String handlerNodeId)TimerRecordStreamwithHandlerNodeId(org.agrona.DirectBuffer handlerNodeId)TimerRecordStreamwithRepetitions(int repetitions)TimerRecordStreamwithWorkflowInstanceKey(long workflowInstanceKey)TimerRecordStreamwithWorkflowKey(long workflowKey)-
Methods inherited from class io.zeebe.test.util.record.ExporterRecordStream
onlyCommandRejections, onlyCommands, onlyEvents, valueFilter, withIntent, withPartitionId, withPosition, withRecordKey, withRecordType, withRejectionReason, withRejectionType, withSourceRecordPosition, withTimestamp, withValueType
-
Methods inherited from class io.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, unordered
-
-
-
-
Constructor Detail
-
TimerRecordStream
public TimerRecordStream(Stream<Record<TimerRecordValue>> wrappedStream)
-
-
Method Detail
-
supply
protected TimerRecordStream supply(Stream<Record<TimerRecordValue>> wrappedStream)
- Specified by:
supplyin classStreamWrapper<Record<TimerRecordValue>,TimerRecordStream>
-
withElementInstanceKey
public TimerRecordStream withElementInstanceKey(long elementInstanceKey)
-
withDueDate
public TimerRecordStream withDueDate(long dueDate)
-
withHandlerNodeId
public TimerRecordStream withHandlerNodeId(String handlerNodeId)
-
withHandlerNodeId
public TimerRecordStream withHandlerNodeId(org.agrona.DirectBuffer handlerNodeId)
-
withRepetitions
public TimerRecordStream withRepetitions(int repetitions)
-
withWorkflowKey
public TimerRecordStream withWorkflowKey(long workflowKey)
-
withWorkflowInstanceKey
public TimerRecordStream withWorkflowInstanceKey(long workflowInstanceKey)
-
-