Package org.apache.storm.utils
Class BatchHelper
java.lang.Object
org.apache.storm.utils.BatchHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
ack()
void
void
int
boolean
boolean
shouldHandle
(Tuple tuple)
-
Constructor Details
-
BatchHelper
-
-
Method Details
-
fail
-
ack
public void ack() -
shouldHandle
-
addBatch
-
getBatchTuples
-
getBatchSize
public int getBatchSize() -
shouldFlush
public boolean shouldFlush()
-