Class CompletableListenableHyperlink
-
- All Implemented Interfaces:
-
ai.platon.pulsar.common.urls.ComparableUrlAware,ai.platon.pulsar.common.urls.StatefulUrl,ai.platon.pulsar.common.urls.UrlAware,ai.platon.pulsar.skeleton.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 PageEventHandlerseventHandlersprivate Stringargsprivate final StringconfiguredUrlprivate final Stringcountryprivate final Instantdeadlineprivate final Integerdepthprivate final Stringdistrictprivate Stringhrefprivate final BooleanisNilprivate final BooleanisPersistableprivate final BooleanisStandardprivate final Stringlabelprivate final Stringlangprivate final IntegernMaxRetryprivate Integerorderprivate Integerpriorityprivate Stringreferrerprivate Stringtextprivate final URLtoURLprivate final URLtoURLOrNullprivate Stringurlprivate StringauthTokenprivate StringremoteAddrprivate Integerstatusprivate InstantmodifiedAtprivate final InstantcreatedAt
-
Method Summary
Modifier and Type Method Description PageEventHandlersgetEventHandlers()The event handler UnitsetEventHandlers(PageEventHandlers eventHandlers)The event handler -
Methods inherited from class ai.platon.pulsar.common.urls.UrlAware
getArgs, getConfiguredUrl, getCountry, getDeadline, getDepth, getDistrict, getHref, getLabel, getLang, getNMaxRetry, getOrder, getPriority, getReferrer, getText, getToURL, getToURLOrNull, getUrl, isNil, isPersistable, isStandard, setArgs, setHref, setOrder, setPriority, setReferrer, setText, setUrl -
Methods inherited from class ai.platon.pulsar.skeleton.crawl.common.url.CompletableHyperlink
getAuthToken, getCreatedAt, getModifiedAt, getRemoteAddr, getStatus, setAuthToken, setModifiedAt, setRemoteAddr, setStatus -
Methods inherited from class kotlin.Comparable
compareTo -
Methods inherited from class java.util.concurrent.CompletableFuture
acceptEither, acceptEitherAsync, acceptEitherAsync, applyToEither, applyToEitherAsync, applyToEitherAsync, cancel, complete, completeAsync, completeAsync, completeExceptionally, completeOnTimeout, copy, defaultExecutor, exceptionNow, exceptionally, exceptionallyAsync, exceptionallyAsync, exceptionallyCompose, exceptionallyComposeAsync, exceptionallyComposeAsync, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, join, minimalCompletionStage, newIncompleteFuture, obtrudeException, obtrudeValue, orTimeout, resultNow, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, state, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, whenComplete, whenCompleteAsync, whenCompleteAsync -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getEventHandlers
PageEventHandlers getEventHandlers()
The event handler
-
setEventHandlers
Unit setEventHandlers(PageEventHandlers eventHandlers)
The event handler
-
-
-
-