Class AggregationMultiFunctionStateModeManaged
java.lang.Object
com.espertech.esper.common.client.hook.aggmultifunc.AggregationMultiFunctionStateModeManaged
- All Implemented Interfaces:
AggregationMultiFunctionStateMode
public class AggregationMultiFunctionStateModeManaged
extends Object
implements AggregationMultiFunctionStateMode
Use this class to provide an state factory wherein there is no need to write code that generates code,
-
Constructor Summary
ConstructorDescriptionCtor.AggregationMultiFunctionStateModeManaged
(InjectionStrategy injectionStrategyAggregationStateFactory) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the injection strategy for the aggregation state factorygetSerde()
Returns the class providing the serdeboolean
isHasHA()
Returns indicator whether a serializer-deserialize to provide read and write methods is provided bygetSerde()
setHasHA
(boolean hasHA) Sets indicator whether a serializer-deserialize to provide read and write methods is provided bygetSerde()
Sets the injection strategy for the aggregation state factorySets the class providing the serde
-
Constructor Details
-
AggregationMultiFunctionStateModeManaged
public AggregationMultiFunctionStateModeManaged(InjectionStrategy injectionStrategyAggregationStateFactory) Ctor.- Parameters:
injectionStrategyAggregationStateFactory
- strategy
-
AggregationMultiFunctionStateModeManaged
public AggregationMultiFunctionStateModeManaged()Ctor.
-
-
Method Details
-
getInjectionStrategyAggregationStateFactory
Returns the injection strategy for the aggregation state factory- Returns:
- strategy
-
setInjectionStrategyAggregationStateFactory
public AggregationMultiFunctionStateModeManaged setInjectionStrategyAggregationStateFactory(InjectionStrategy strategy) Sets the injection strategy for the aggregation state factory- Parameters:
strategy
- strategy- Returns:
- itself
-
isHasHA
public boolean isHasHA()Returns indicator whether a serializer-deserialize to provide read and write methods is provided bygetSerde()
- Returns:
- ha-indicator
-
setHasHA
Sets indicator whether a serializer-deserialize to provide read and write methods is provided bygetSerde()
- Parameters:
hasHA
- ha-indicator- Returns:
- itself
-
getSerde
Returns the class providing the serde- Returns:
- serde class
-
setSerde
Sets the class providing the serde- Parameters:
serde
- serde class- Returns:
- ifself
-