-
- 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
-
Methods inherited from class ai.platon.pulsar.common.collect.collector.AbstractPriorityDataCollector
clear, collectTo, collectTo, collectTo, compareTo -
Methods inherited from class ai.platon.pulsar.common.collect.CircularLocalFileHyperlinkCollector
dump -
Methods inherited from class ai.platon.pulsar.common.collect.collector.AbstractDataCollector
deepClear -
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()
-
setRoundCollected
final Unit setRoundCollected(Integer roundCollected)
-
getStartTime
final Instant getStartTime()
-
getFinishTime
final Instant getFinishTime()
-
getExpires
final Duration getExpires()
-
getIsStarted
final Boolean getIsStarted()
-
getIsExpired
final Boolean getIsExpired()
-
getIsFinished
final Boolean getIsFinished()
-
getOptions
final LoadOptions getOptions()
-
getCapacity
Integer getCapacity()
The cache capacity, we assume that all items in the file are loaded into the cache
-
getFileName
final String getFileName()
-
getLoadArgs
final String getLoadArgs()
-
setLoadArgs
final Unit setLoadArgs(String loadArgs)
-
getHyperlinks
final List<Hyperlink> getHyperlinks()
-
getCollectCount
Integer getCollectCount()
-
setCollectCount
Unit setCollectCount(Integer collectCount)
-
getCollectTime
Duration getCollectTime()
-
getCollectedCount
Integer getCollectedCount()
-
setCollectedCount
Unit setCollectedCount(Integer collectedCount)
-
getCountry
String getCountry()
-
setCountry
Unit setCountry(String country)
-
getCreateTime
Instant getCreateTime()
-
getDeadTime
Instant getDeadTime()
-
setDeadTime
Unit setDeadTime(Instant deadTime)
-
getDistrict
String getDistrict()
-
setDistrict
Unit setDistrict(String district)
-
getEstimatedExternalSize
Integer getEstimatedExternalSize()
-
getEstimatedSize
Integer getEstimatedSize()
-
getExternalSize
Integer getExternalSize()
-
getFirstCollectTime
Instant getFirstCollectTime()
-
setFirstCollectTime
Unit setFirstCollectTime(Instant firstCollectTime)
-
getLastCollectedTime
Instant getLastCollectedTime()
-
setLastCollectedTime
Unit setLastCollectedTime(Instant lastCollectedTime)
-
getPriority
Integer getPriority()
-
-
-
-