Class CustomWindowConfig
- java.lang.Object
-
- org.apache.heron.streamlet.impl.windowings.CustomWindowConfig
-
- All Implemented Interfaces:
WindowConfig
public final class CustomWindowConfig extends Object implements WindowConfig
CustomWindowConfig implements a trigger/eviction based WindowConfig.
-
-
Constructor Summary
Constructors Constructor Description CustomWindowConfig(TriggerPolicy<Tuple,?> triggerPolicy, EvictionPolicy<Tuple,?> evictionPolicy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyTo(BaseWindowedBolt bolt)Apply this WindowConfig object to a bolt objectvoidDummy()This is just a dummy function to avoid WindowConfig objects to be matched with Java functional interface and cause ambiguous reference compiling error.
-
-
-
Constructor Detail
-
CustomWindowConfig
public CustomWindowConfig(TriggerPolicy<Tuple,?> triggerPolicy, EvictionPolicy<Tuple,?> evictionPolicy)
-
-
Method Detail
-
applyTo
public void applyTo(BaseWindowedBolt bolt)
Apply this WindowConfig object to a bolt object- Specified by:
applyToin interfaceWindowConfig- Parameters:
bolt- the target bolt object
-
Dummy
public void Dummy()
Description copied from interface:WindowConfigThis is just a dummy function to avoid WindowConfig objects to be matched with Java functional interface and cause ambiguous reference compiling error. In case new virtual functions are needed in WindowConfig, this dummy function can be safely removed.- Specified by:
Dummyin interfaceWindowConfig
-
-