-
- All Implemented Interfaces:
-
ai.platon.pulsar.common.urls.ComparableUrlAware,ai.platon.pulsar.common.urls.UrlAware,ai.platon.pulsar.crawl.common.url.ListenableUrl,kotlin.Comparable
public class ListenableHyperlink extends Hyperlink implements ListenableUrl
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisPersistableprivate PageEventeventprivate Stringargsprivate final StringconfiguredUrlprivate Stringcountryprivate final InstantdeadTimeprivate final Instantdeadlineprivate Integerdepthprivate Stringdistrictprivate Stringhrefprivate final BooleanisNilprivate final BooleanisStandardprivate final Stringlabelprivate Stringlangprivate IntegernMaxRetryprivate Integerorderprivate Integerpriorityprivate Stringrefererprivate Stringtextprivate final URLtoURLprivate final URLtoURLOrNullprivate Stringurl
-
Method Summary
-
Methods inherited from class ai.platon.pulsar.common.urls.Hyperlink
compareTo, equals, hashCode, toString -
Methods inherited from class ai.platon.pulsar.crawl.common.url.ListenableHyperlink
data -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getIsPersistable
Boolean getIsPersistable()
A listenable url is not a persistence object because the event handler is not persistent
-
getConfiguredUrl
String getConfiguredUrl()
-
getCountry
String getCountry()
-
setCountry
Unit setCountry(String country)
-
getDeadTime
Instant getDeadTime()
-
getDeadline
Instant getDeadline()
-
getDistrict
String getDistrict()
-
setDistrict
Unit setDistrict(String district)
-
getIsStandard
Boolean getIsStandard()
-
getNMaxRetry
Integer getNMaxRetry()
-
setNMaxRetry
Unit setNMaxRetry(Integer nMaxRetry)
-
getPriority
Integer getPriority()
-
setPriority
Unit setPriority(Integer priority)
-
getReferer
String getReferer()
-
setReferer
Unit setReferer(String referer)
-
getToURLOrNull
URL getToURLOrNull()
-
-
-
-