Class MemoryStatusUpdater
- java.lang.Object
-
- org.apache.storm.topology.base.BaseComponent
-
- org.apache.storm.topology.base.BaseRichBolt
-
- com.digitalpebble.stormcrawler.persistence.AbstractStatusUpdaterBolt
-
- com.digitalpebble.stormcrawler.persistence.MemoryStatusUpdater
-
- All Implemented Interfaces:
Serializable
,org.apache.storm.task.IBolt
,org.apache.storm.topology.IComponent
,org.apache.storm.topology.IRichBolt
public class MemoryStatusUpdater extends AbstractStatusUpdaterBolt
Use in combination with the MemorySpout for testing in local mode. There is no guarantee that this will work in distributed mode as it expects the MemorySpout to be in the same execution thread.- 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 MemoryStatusUpdater()
-
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
-
-