Class SlidingTimeCorrectness
java.lang.Object
org.apache.storm.st.topology.window.SlidingTimeCorrectness
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionint
int
-
Constructor Details
-
SlidingTimeCorrectness
public SlidingTimeCorrectness(int windowSec, int slideSec)
-
-
Method Details
-
getBoltName
- Specified by:
getBoltName
in interfaceTestableTopology
-
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
- Specified by:
newTopology
in interfaceTestableTopology
-