Package com.hazelcast.jet.pipeline.test
Interface GeneratorFunction<R>
- Type Parameters:
R
- the type of the result of the function
- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A function which takes a timestamp and a sequence number as the input.
- Since:
- Jet 3.2
-
Method Summary
-
Method Details
-
generate
Applies the function to the given timestamp and sequence.- Parameters:
timestamp
- the current timestampsequence
- the current sequence- Returns:
- the function result
- Throws:
Exception
-