-
- 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.ListenableHyperlink,java.util.concurrent.CompletionStage,java.util.concurrent.Future,kotlin.Comparable
public class CompletableListenableHyperlink<T extends Object> extends CompletableHyperlink<T> implements UrlAware, Comparable<UrlAware>, ListenableHyperlink
-
-
Field Summary
Fields Modifier and Type Field Description private final CrawlEventPipelineHandlercrawlEventHandlerprivate final LoadEventPipelineHandlerloadEventHandlerprivate final JsEventHandlerjsEventHandlerprivate Stringargsprivate final StringconfiguredUrlprivate final Stringcountryprivate final InstantdeadTimeprivate final Stringdistrictprivate Stringhrefprivate final BooleanisNilprivate final BooleanisPersistableprivate final Stringlabelprivate final Stringlangprivate final IntegermaxRetryprivate Stringrefererprivate Stringurlprivate StringauthTokenprivate StringremoteAddrprivate Integerstatusprivate InstantmodifiedAtprivate final InstantcreatedAtprivate Stringtextprivate Integerorderprivate final Objectresultprivate final CompletableFuture.Completionstack
-
Method Summary
-
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, exceptionallyAsync, exceptionallyAsync, exceptionallyCompose, exceptionallyComposeAsync, exceptionallyComposeAsync, 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
-
getCrawlEventHandler
CrawlEventPipelineHandler getCrawlEventHandler()
-
getLoadEventHandler
LoadEventPipelineHandler getLoadEventHandler()
-
getJsEventHandler
JsEventHandler getJsEventHandler()
-
getConfiguredUrl
abstract String getConfiguredUrl()
-
getCountry
abstract String getCountry()
-
getDeadTime
abstract Instant getDeadTime()
-
getDistrict
abstract String getDistrict()
-
getIsPersistable
abstract Boolean getIsPersistable()
-
getMaxRetry
abstract Integer getMaxRetry()
-
getReferer
abstract String getReferer()
-
setReferer
abstract Unit setReferer(String referer)
-
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()
-
-
-
-