| Modifier and Type | Interface and Description |
|---|---|
interface |
EventWrapper<T extends com.fluxtion.api.event.Event>
Wraps an underlying event node in a SEP
|
interface |
FilterWrapper<T>
A wrapper around a node that is created as the resiult of a filtering
operation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MergingWrapper<T>
Merges streams into a single node in the SEP execution graph.
|
class |
ReusableEventHandler<T extends com.fluxtion.api.event.Event> |
| Modifier and Type | Field and Description |
|---|---|
List<Wrapper> |
MergingWrapper.wrappedNodes |
| Modifier and Type | Method and Description |
|---|---|
default Wrapper<T> |
Wrapper.alwaysReset(boolean alwaysReset)
Reset a stateful node after every execution cycle, without the need for a
an external
resetNotifier(java.lang.Object). |
default <S> Wrapper<T> |
Wrapper.console(String prefix,
com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S>... supplier)
dump this node to console, prefixed with the supplied message.
Object.toString() will be invoked on the node instance. |
default Wrapper<T> |
FilterWrapper.elseStream()
provides an else branch to a filter node in this stream.
|
default Wrapper<T> |
Wrapper.forEach(com.fluxtion.api.partition.LambdaReflection.SerializableConsumer<T> consumer)
Registers a
Consumer to operate on the current node when an event
wave is passing through this node. |
default Wrapper<T> |
Wrapper.forEach(com.fluxtion.api.partition.LambdaReflection.SerializableConsumer<T> consumer,
String consumerId) |
default Wrapper<T> |
Wrapper.id(String id)
Set the node id for this node within the generated SEP.
|
default Wrapper<T> |
Wrapper.immediateReset(boolean immediateReset)
Controls reset timing policy for stateful nodes.
|
default <R,S> Wrapper<R> |
Wrapper.map(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<S,R> mapper,
com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier)
Maps a value using the provided mapping function.
|
default <R> Wrapper<R> |
Wrapper.map(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,R> mapper)
Maps a value using the provided mapping function.
|
default <R> Wrapper<R> |
Wrapper.mapDouble(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<? extends Double,R> mapper)
Invokes a mapping function that accepts a
Double as an input |
default <R> Wrapper<R> |
Wrapper.mapInt(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<? extends Integer,R> mapper)
Invokes a mapping function that accepts a
Integer as an input |
default <R> Wrapper<R> |
Wrapper.mapLong(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<? extends Long,R> mapper)
Invokes a mapping function that accepts a
Long as an input |
<S extends T> |
MergingWrapper.mergeNodes(S... nodesT) |
Wrapper<T> |
MergingWrapper.mergeWrappers(Wrapper<? extends T>... nodes) |
default Wrapper<T> |
Wrapper.notiferMerge(Object eventNotifier)
Attaches an event notification instance to the current stream node.
|
default Wrapper<T> |
Wrapper.notifierOverride(Object eventNotifier)
Attaches an event notification instance to the current stream node,
overriding the execution path of the current stream.
|
default Wrapper<T> |
Wrapper.notifyOnChange(boolean notifyOnChange)
Controls the notification policy of event notification to child nodes for
this stream node.
|
default Wrapper<T> |
Wrapper.publishAndReset(Object notifier)
resets the stateful node and publishes the current value.
|
default <T,R,S extends R> |
Wrapper.push(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,S> supplier,
com.fluxtion.api.partition.LambdaReflection.SerializableConsumer<R> mapper)
pushes a data item from the current node in the stream to any node.The
target node will become part of the same execution graph as the
source.
|
default Wrapper<T> |
Wrapper.resetNotifier(Object resetNotifier)
Attaches a reset notifier instance to the current stream node.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> MergingWrapper<T> |
MergingWrapper.merge(Class<T> clazz,
Wrapper<? extends T>... nodes) |
static <T> MergingWrapper<T> |
MergingWrapper.merge(Wrapper<T>... nodes) |
Wrapper<T> |
MergingWrapper.mergeWrappers(Wrapper<? extends T>... nodes) |
void |
MergingWrapper.mergeWrapperUpdate(Wrapper<? extends T> wrappedNode) |
| Modifier and Type | Class and Description |
|---|---|
class |
GroupByTargetMap<U,T extends Wrapper<U>>
A map holding the instances in the group by
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
GroupBy<T>
Runtime interface for GroupBy instances generated by SEP.
|
| Modifier and Type | Method and Description |
|---|---|
<V extends Wrapper<T>> |
GroupBy.getMap() |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFilterWrapper<T>
A base class for stream functions.
|
class |
ElseWrapper<T>
Wraps a Wrapper and provides an else execution path.
|
class |
NodeWrapper<T>
simple wrapper that wraps any node.
|
| Modifier and Type | Method and Description |
|---|---|
Wrapper<T> |
AbstractFilterWrapper.alwaysReset(boolean alwaysReset) |
default <T,S extends T> |
StreamOperator.forEach(com.fluxtion.api.partition.LambdaReflection.SerializableConsumer<S> consumer,
Wrapper<T> source,
String consumerId)
Supply the wrapper to a consumer when the wrapper is on the execution
path
|
Wrapper<T> |
AbstractFilterWrapper.immediateReset(boolean immediateReset) |
default <T,R> Wrapper<R> |
StreamOperator.map(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,R> mapper,
Wrapper<T> source,
boolean cast) |
default <T,R> Wrapper<R> |
StreamOperator.map(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,R> mapper,
Wrapper<T> source,
Method accessor,
boolean cast) |
default <T> Wrapper<T> |
StreamOperator.notiferMerge(Wrapper<T> source,
Object notifier)
Attaches an event notification instance to the current stream node and
merges notifications from stream and the added notifier.When the notifier
updates all the child nodes of this stream node will be on the execution
path and invoked following normal SEP rules.The existing execution path
will be unaltered if either the parent wrapped node or the eventNotifier
updates then the execution path will progress.
|
default <T> Wrapper<T> |
StreamOperator.notifierOverride(Wrapper<T> source,
Object notifier)
Attaches an event notification instance to the current stream node,
overriding the execution path of the current stream.Only when the
notifier updates will the child nodes of this stream node be on the
execution path.
|
Wrapper<T> |
AbstractFilterWrapper.notifyOnChange(boolean notifyOnChange) |
| Modifier and Type | Method and Description |
|---|---|
default <S,T> FilterWrapper<T> |
StreamOperator.filter(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<S,Boolean> filter,
Wrapper<T> source,
Method accessor,
boolean cast) |
default <T> FilterWrapper<T> |
StreamOperator.filter(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,Boolean> filter,
Wrapper<T> source,
boolean cast) |
default <T,S extends T> |
StreamOperator.forEach(com.fluxtion.api.partition.LambdaReflection.SerializableConsumer<S> consumer,
Wrapper<T> source,
String consumerId)
Supply the wrapper to a consumer when the wrapper is on the execution
path
|
default <T,R> Wrapper<R> |
StreamOperator.map(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,R> mapper,
Wrapper<T> source,
boolean cast) |
default <T,R> Wrapper<R> |
StreamOperator.map(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,R> mapper,
Wrapper<T> source,
Method accessor,
boolean cast) |
default <T> Wrapper<T> |
StreamOperator.notiferMerge(Wrapper<T> source,
Object notifier)
Attaches an event notification instance to the current stream node and
merges notifications from stream and the added notifier.When the notifier
updates all the child nodes of this stream node will be on the execution
path and invoked following normal SEP rules.The existing execution path
will be unaltered if either the parent wrapped node or the eventNotifier
updates then the execution path will progress.
|
default <T> Wrapper<T> |
StreamOperator.notifierOverride(Wrapper<T> source,
Object notifier)
Attaches an event notification instance to the current stream node,
overriding the execution path of the current stream.Only when the
notifier updates will the child nodes of this stream node be on the
execution path.
|
default <T,R> void |
StreamOperator.push(Wrapper<T> source,
Method accessor,
com.fluxtion.api.partition.LambdaReflection.SerializableConsumer<R> consumer)
push data from the wrapper to the consumer
|
| Constructor and Description |
|---|
ElseWrapper(Wrapper<T> node) |
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanEitherFilter<T>
A filtering wrapper that propagates the event wave when a notifier object or
the tracked object indicates a positive change.
|
class |
BooleanFilter<T>
A filtering wrapper that propagates the event wave when a notifier object
indicates a positive change.
|
class |
BooleanMatchFilter<T>
A filtering wrapper that propagates the event wave when the tracked object
and a notifier object both indicate a positive change.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BooleanMatchFilter.trackedWrapperUpdated(Wrapper<T> tracked) |
| Constructor and Description |
|---|
BooleanEitherFilter(Wrapper<T> trackedWrapper,
Object notifier) |
BooleanFilter(Wrapper<T> trackedWrapper,
Object notifier) |
BooleanMatchFilter(Wrapper<T> trackedWrapper,
Object notifier) |
| Modifier and Type | Class and Description |
|---|---|
class |
StringWrapper
A wrapper for a CharSequence.
|
Copyright © 2019. All rights reserved.