Class StdOutStatusUpdater
- java.lang.Object
-
- org.apache.storm.topology.base.BaseComponent
-
- org.apache.storm.topology.base.BaseRichBolt
-
- com.digitalpebble.stormcrawler.persistence.AbstractStatusUpdaterBolt
-
- com.digitalpebble.stormcrawler.persistence.StdOutStatusUpdater
-
- All Implemented Interfaces:
Serializable
,org.apache.storm.task.IBolt
,org.apache.storm.topology.IComponent
,org.apache.storm.topology.IRichBolt
public class StdOutStatusUpdater extends AbstractStatusUpdaterBolt
Dummy status updater which dumps the content of the incoming tuples to the standard output. Useful for debugging and as an illustration of what AbstractStatusUpdaterBolt provides.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.digitalpebble.stormcrawler.persistence.AbstractStatusUpdaterBolt
_collector, AS_IS_NEXTFETCHDATE_METADATA, cacheConfigParamName, maxFetchErrorsParamName, roundDateParamName, useCacheParamName
-
-
Constructor Summary
Constructors Constructor Description StdOutStatusUpdater()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
store(String url, Status status, Metadata metadata, Optional<Date> nextFetch, org.apache.storm.tuple.Tuple t)
-
Methods inherited from class com.digitalpebble.stormcrawler.persistence.AbstractStatusUpdaterBolt
ack, declareOutputFields, execute, getDocumentID, prepare
-
-