Package ai.platon.pulsar.common.urls
Class CrawlableFatLink
-
- All Implemented Interfaces:
-
ai.platon.pulsar.common.urls.ComparableUrlAware,ai.platon.pulsar.common.urls.StatefulUrl,ai.platon.pulsar.common.urls.UrlAware,kotlin.Comparable
public class CrawlableFatLink extends StatefulFatLink
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CrawlableFatLink(String url, String text, Integer order, String referrer, String args, String href, List<StatefulHyperlink> tailLinks)
-
Method Summary
Modifier and Type Method Description final IntegergetFinishedTailLinkCount()final UnitsetFinishedTailLinkCount(Integer finishedTailLinkCount)final BooleangetAborted()final UnitsetAborted(Boolean aborted)final IntegergetNumActive()final BooleanisAborted()final BooleanisFinished()final DurationgetIdleTime()final Unitabort()final Booleanfinish(StatefulHyperlink url, Integer status)StringtoString()-
Methods inherited from class ai.platon.pulsar.common.urls.StatefulFatLink
getAuthToken, getCreatedAt, getModifiedAt, getRemoteAddr, getStatus, setAuthToken, setModifiedAt, setRemoteAddr, setStatus -
Methods inherited from class ai.platon.pulsar.common.urls.FatLink
getSize, getTailLinks, isEmpty, isNotEmpty, setTailLinks -
Methods inherited from class ai.platon.pulsar.common.urls.Hyperlink
data, getDepth, getOrder, getText, setDepth, setOrder, setText -
Methods inherited from class ai.platon.pulsar.common.urls.AbstractUrl
compareTo, equals, getArgs, getConfiguredUrl, getCountry, getDeadline, getDistrict, getHref, getLabel, getLang, getNMaxRetry, getPriority, getReferrer, getToURL, getToURLOrNull, getUrl, hashCode, isNil, isPersistable, isStandard, serialize, setArgs, setCountry, setDistrict, setHref, setLang, setNMaxRetry, setPriority, setReferrer, setUrl -
Methods inherited from class ai.platon.pulsar.common.urls.UrlAware
getDeadTime, getReferer -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getFinishedTailLinkCount
final Integer getFinishedTailLinkCount()
-
setFinishedTailLinkCount
final Unit setFinishedTailLinkCount(Integer finishedTailLinkCount)
-
getAborted
final Boolean getAborted()
-
setAborted
final Unit setAborted(Boolean aborted)
-
getNumActive
final Integer getNumActive()
-
isFinished
final Boolean isFinished()
-
getIdleTime
final Duration getIdleTime()
-
finish
final Boolean finish(StatefulHyperlink url, Integer status)
-
-
-
-