Class SlidingWindowCorrectness
- java.lang.Object
-
- org.apache.storm.st.topology.window.SlidingWindowCorrectness
-
- All Implemented Interfaces:
TestableTopology
public class SlidingWindowCorrectness extends Object implements TestableTopology
Computes sliding window sum.
-
-
Field Summary
-
Fields inherited from interface org.apache.storm.st.topology.TestableTopology
DUMMY_FIELD, MAX_SPOUT_EMITS, TIMEDATA_SLEEP_BETWEEN_EMITS_MS
-
-
Constructor Summary
Constructors Constructor Description SlidingWindowCorrectness(int windowSize, int slideSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBoltExecutors()StringgetBoltName()intgetSpoutExecutors()StringgetSpoutName()StormTopologynewTopology()
-
-
-
Method Detail
-
getBoltName
public String getBoltName()
- Specified by:
getBoltNamein interfaceTestableTopology
-
getSpoutName
public String getSpoutName()
- Specified by:
getSpoutNamein interfaceTestableTopology
-
getBoltExecutors
public int getBoltExecutors()
- Specified by:
getBoltExecutorsin interfaceTestableTopology
-
getSpoutExecutors
public int getSpoutExecutors()
- Specified by:
getSpoutExecutorsin interfaceTestableTopology
-
newTopology
public StormTopology newTopology()
- Specified by:
newTopologyin interfaceTestableTopology
-
-