-
- All Implemented Interfaces:
-
ai.platon.pulsar.common.urls.ComparableUrlAware,ai.platon.pulsar.common.urls.StatefulUrl,ai.platon.pulsar.common.urls.UrlAware,ai.platon.pulsar.crawl.common.url.ListenableUrl,java.util.concurrent.CompletionStage,java.util.concurrent.Future,kotlin.Comparable
public class CompletableListenableHyperlink<T extends Object> extends CompletableHyperlink<T> implements UrlAware, Comparable<UrlAware>, ListenableUrl
-
-
Field Summary
Fields Modifier and Type Field Description private PageEventeventprivate Stringargsprivate final StringconfiguredUrlprivate final Stringcountryprivate final InstantdeadTimeprivate final Instantdeadlineprivate final Stringdistrictprivate Stringhrefprivate final BooleanisNilprivate final BooleanisPersistableprivate final BooleanisStandardprivate final Stringlabelprivate final Stringlangprivate final IntegernMaxRetryprivate Integerpriorityprivate Stringrefererprivate final URLtoURLprivate final URLtoURLOrNullprivate Stringurlprivate StringauthTokenprivate StringremoteAddrprivate Integerstatusprivate InstantmodifiedAtprivate final InstantcreatedAtprivate Stringtextprivate Integerorderprivate final Objectresultprivate final CompletableFuture.Completionstack
-
Method Summary
Modifier and Type Method Description PageEventgetEvent()The event handler UnitsetEvent(PageEvent event)The event handler abstract StringgetArgs()abstract UnitsetArgs(String args)abstract StringgetConfiguredUrl()abstract StringgetCountry()InstantgetDeadTime()abstract InstantgetDeadline()abstract StringgetDistrict()abstract StringgetHref()abstract UnitsetHref(String href)abstract BooleangetIsNil()abstract BooleangetIsPersistable()abstract BooleangetIsStandard()abstract StringgetLabel()abstract StringgetLang()abstract IntegergetNMaxRetry()abstract IntegergetPriority()abstract UnitsetPriority(Integer priority)abstract StringgetReferer()abstract UnitsetReferer(String referer)abstract URLgetToURL()abstract URLgetToURLOrNull()abstract StringgetUrl()abstract UnitsetUrl(String url)StringgetAuthToken()UnitsetAuthToken(String authToken)StringgetRemoteAddr()UnitsetRemoteAddr(String remoteAddr)IntegergetStatus()UnitsetStatus(Integer status)InstantgetModifiedAt()UnitsetModifiedAt(Instant modifiedAt)InstantgetCreatedAt()final StringgetText()The anchor text of this hyperlink final UnitsetText(String text)The anchor text of this hyperlink final IntegergetOrder()The order of this hyperlink in it's referer page final UnitsetOrder(Integer order)The order of this hyperlink in it's referer page -
Methods inherited from class ai.platon.pulsar.crawl.common.url.CompletableListenableHyperlink
compareTo -
Methods inherited from class ai.platon.pulsar.crawl.common.url.CompletableHyperlink
acceptEither, acceptEitherAsync, acceptEitherAsync, applyToEither, applyToEitherAsync, applyToEitherAsync, biAccept, biApply, biRun, bipush, cancel, cleanStack, complete, completeAsync, completeAsync, completeExceptionally, completeNull, completeOnTimeout, completeRelay, completeThrowable, completeThrowable, completeValue, copy, defaultExecutor, encodeOutcome, encodeValue, exceptionally, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, internalComplete, isCancelled, isCompletedExceptionally, isDone, join, minimalCompletionStage, newIncompleteFuture, obtrudeException, obtrudeValue, orTimeout, orpush, postComplete, postFire, postFire, pushStack, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, tryPushStack, uniExceptionally, uniHandle, uniWhenComplete, unipush, whenComplete, whenCompleteAsync, whenCompleteAsync -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getConfiguredUrl
abstract String getConfiguredUrl()
-
getCountry
abstract String getCountry()
-
getDeadTime
Instant getDeadTime()
-
getDeadline
abstract Instant getDeadline()
-
getDistrict
abstract String getDistrict()
-
getIsPersistable
abstract Boolean getIsPersistable()
-
getIsStandard
abstract Boolean getIsStandard()
-
getNMaxRetry
abstract Integer getNMaxRetry()
-
getPriority
abstract Integer getPriority()
-
setPriority
abstract Unit setPriority(Integer priority)
-
getReferer
abstract String getReferer()
-
setReferer
abstract Unit setReferer(String referer)
-
getToURLOrNull
abstract URL getToURLOrNull()
-
getAuthToken
String getAuthToken()
-
setAuthToken
Unit setAuthToken(String authToken)
-
getRemoteAddr
String getRemoteAddr()
-
setRemoteAddr
Unit setRemoteAddr(String remoteAddr)
-
getModifiedAt
Instant getModifiedAt()
-
setModifiedAt
Unit setModifiedAt(Instant modifiedAt)
-
getCreatedAt
Instant getCreatedAt()
-
-
-
-