Class CircularLocalFileHyperlinkCollector
-
- All Implemented Interfaces:
-
ai.platon.pulsar.common.collect.collector.DataCollector,ai.platon.pulsar.common.collect.collector.PriorityDataCollector,kotlin.Comparable
public class CircularLocalFileHyperlinkCollector extends LocalFileHyperlinkCollector
-
-
Field Summary
Fields Modifier and Type Field Description private Stringnameprivate final Integercapacityprivate final StringfileNameprivate StringloadArgsprivate final List<Hyperlink>hyperlinksprivate final Integersizeprivate final Pathpathprivate IntegercollectCountprivate final DurationcollectTimeprivate IntegercollectedCountprivate Stringcountryprivate final InstantcreateTimeprivate InstantdeadTimeprivate Stringdistrictprivate final IntegerestimatedExternalSizeprivate final IntegerestimatedSizeprivate final IntegerexternalSizeprivate InstantfirstCollectTimeprivate final Integeridprivate final BooleanisDeadprivate final Set<String>labelsprivate Stringlangprivate InstantlastCollectedTimeprivate final Integerpriority
-
Constructor Summary
Constructors Constructor Description CircularLocalFileHyperlinkCollector(Path path, Priority13 priority)
-
Method Summary
Modifier and Type Method Description StringgetName()The collector name UnitsetName(String name)The collector name IntegercollectTo(List<UrlAware> sink)-
Methods inherited from class ai.platon.pulsar.skeleton.common.collect.LocalFileHyperlinkCollector
dump, getCapacity, getFileName, getHyperlinks, getLoadArgs, getPath, getSize, hasMore, setLoadArgs -
Methods inherited from class ai.platon.pulsar.common.collect.collector.AbstractDataCollector
clear, collectTo, collectTo, collectTo, getCollectCount, getCollectTime, getCollectedCount, getCountry, getCreateTime, getDeadTime, getDistrict, getEstimatedExternalSize, getEstimatedSize, getExternalSize, getFirstCollectTime, getId, getLabels, getLang, getLastCollectedTime, setCollectCount, setCollectedCount, setCountry, setDeadTime, setDistrict, setFirstCollectTime, setLang, setLastCollectedTime -
Methods inherited from class ai.platon.pulsar.common.collect.collector.DataCollector
deepClear, isDead -
Methods inherited from class ai.platon.pulsar.common.collect.collector.AbstractPriorityDataCollector
getPriority, toString -
Methods inherited from class ai.platon.pulsar.common.collect.collector.PriorityDataCollector
compareTo -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-