Package com.fluxtion.ext.streaming.api
Interface Stateful<S>
- Type Parameters:
S
-
- All Known Subinterfaces:
FilterWrapper<T>
,GroupBy<T>
,Stateful.StatefulNumber<S>
,WrappedCollection<T,U,C>
,WrappedList<T>
,Wrapper<T>
- All Known Implementing Classes:
AbstractFilterWrapper
,ArrayListWrappedCollection
,BooleanEitherFilter
,BooleanFilter
,BooleanMatchFilter
,DefaultNumberWrapper
,DefaultNumberWrapper.DefaultDoubleWrapper
,DefaultNumberWrapper.DefaultIntWrapper
,DefaultNumberWrapper.DefaultLongWrapper
,ElseWrapper
,EventMutableNumber
,EventMutableNumber.EventMutableDouble
,EventMutableNumber.EventMutableInt
,EventMutableNumber.EventMutableLong
,GenericWrapper
,IntFilterEventHandler
,ListCollector
,MergingWrapper
,NodeWrapper
,NumericPredicates.TrendingPredicates
,PercentPredicates
,SlidingAggregator
,SlidingNumberAggregator
,StreamFunctions.Average
,StreamFunctions.Count
,StreamFunctions.Delta
,StreamFunctions.IntCount
,StreamFunctions.Max
,StreamFunctions.Min
,StreamFunctions.PercentDelta
,StreamFunctions.Sum
,StringFilterEventHandler
,StringWrapper
,SubList
,TestFilter
,TimerFilter
public interface Stateful<S>
Functions maybe stateless or stateful in Fluxtion. A stateful function can
implement this interface to receive reset notifications during graph
processing. Optional combine and deduct operations are used to add results of
a function together to produce a new result.
- Author:
- greg higgins
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Stateful.StatefulNumber<S>
-
Method Summary
-
Method Details
-
reset
void reset() -
setBucketCount
default void setBucketCount(int count) -
combine
-
deduct
-