| Package | Description |
|---|---|
| com.hazelcast.jet.config |
Jet's configuration data objects.
|
| com.hazelcast.jet.pipeline.test |
This package contains various mock sources to help with pipeline testing
and development.
|
| Modifier and Type | Method and Description |
|---|---|
<T,S extends StreamSerializer<T>> |
JobConfig.registerSerializer(Class<T> clazz,
Class<S> serializerClass)
Registers the given serializer for the given class for the scope of the
job.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AssertionCompletedException
An exception which indicates that an assertion passed successfully.
|
class |
TestSources
Contains factory methods for various mock sources which can be used for
pipeline testing and development.
|
| Modifier and Type | Method and Description |
|---|---|
static StreamSource<SimpleEvent> |
TestSources.itemStream(int itemsPerSecond)
Returns a streaming source that generates events of type
SimpleEvent at the specified rate. |
static <T> StreamSource<T> |
TestSources.itemStream(int itemsPerSecond,
GeneratorFunction<? extends T> generatorFn)
Returns a streaming source that generates events created by the
generatorFn at the specified rate. |
Copyright © 2022 Hazelcast, Inc.. All rights reserved.