Package ai.platon.pulsar.common.collect
Class PeriodicalLocalFileHyperlinkCollector
-
- All Implemented Interfaces:
-
ai.platon.pulsar.common.collect.collector.DataCollector,ai.platon.pulsar.common.collect.collector.PriorityDataCollector,kotlin.Comparable
public class PeriodicalLocalFileHyperlinkCollector extends CircularLocalFileHyperlinkCollector
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPeriodicalLocalFileHyperlinkCollector.Companion
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PeriodicalLocalFileHyperlinkCollector(Path path, LoadOptions options, Priority13 priority)
-
Method Summary
Modifier and Type Method Description StringgetName()The collector name UnitsetName(String name)The collector name final UUIDgetUuid()final PeriodicalLocalFileHyperlinkCollector.Companion.CountersgetCounters()final IntegergetBatchSize()final UnitsetBatchSize(Integer batchSize)final Map<Integer, Instant>getStartTimes()final Map<Integer, Instant>getFinishTimes()final IntegergetRound()final IntegergetRoundCollected()final InstantgetStartTime()final InstantgetFinishTime()final DurationgetExpires()final BooleanisStarted()final BooleanisExpired()final BooleanisFinished()final LoadOptionsgetOptions()BooleanhasMore()IntegercollectTo(List<UrlAware> sink)StringtoString()-
Methods inherited from class ai.platon.pulsar.common.collect.LocalFileHyperlinkCollector
dump, getCapacity, getFileName, getHyperlinks, getLoadArgs, getPath, getSize, 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 -
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
-
-
Constructor Detail
-
PeriodicalLocalFileHyperlinkCollector
PeriodicalLocalFileHyperlinkCollector(Path path, LoadOptions options, Priority13 priority)
-
-
Method Detail
-
getCounters
final PeriodicalLocalFileHyperlinkCollector.Companion.Counters getCounters()
-
getBatchSize
final Integer getBatchSize()
-
setBatchSize
final Unit setBatchSize(Integer batchSize)
-
getStartTimes
final Map<Integer, Instant> getStartTimes()
-
getFinishTimes
final Map<Integer, Instant> getFinishTimes()
-
getRoundCollected
final Integer getRoundCollected()
-
getStartTime
final Instant getStartTime()
-
getFinishTime
final Instant getFinishTime()
-
getExpires
final Duration getExpires()
-
isFinished
final Boolean isFinished()
-
getOptions
final LoadOptions getOptions()
-
-
-
-