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 int
getBoltExecutors()
String
getBoltName()
int
getSpoutExecutors()
String
getSpoutName()
StormTopology
newTopology()
-
-
-
Method Detail
-
getBoltName
public String getBoltName()
- Specified by:
getBoltName
in interfaceTestableTopology
-
getSpoutName
public String getSpoutName()
- Specified by:
getSpoutName
in interfaceTestableTopology
-
getBoltExecutors
public int getBoltExecutors()
- Specified by:
getBoltExecutors
in interfaceTestableTopology
-
getSpoutExecutors
public int getSpoutExecutors()
- Specified by:
getSpoutExecutors
in interfaceTestableTopology
-
newTopology
public StormTopology newTopology()
- Specified by:
newTopology
in interfaceTestableTopology
-
-