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.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 PageEventHandlerseventprivate Stringargsprivate final StringconfiguredUrlprivate final Stringcountryprivate final Instantdeadlineprivate final Stringdistrictprivate Stringhrefprivate final BooleanisNilprivate final BooleanisPersistableprivate final BooleanisStandardprivate final Stringlabelprivate final Stringlangprivate final IntegernMaxRetryprivate Integerpriorityprivate Stringreferrerprivate final URLtoURLprivate final URLtoURLOrNullprivate Stringurlprivate StringauthTokenprivate StringremoteAddrprivate Integerstatusprivate InstantmodifiedAtprivate final InstantcreatedAtprivate Stringtextprivate Integerorder
-
Constructor Summary
Constructors Constructor Description CompletableListenableHyperlink(String url, String text, Integer order, String referrer, String args, String href, PageEventHandlers event)
-
Method Summary
Modifier and Type Method Description PageEventHandlersgetEvent()The event handler UnitsetEvent(PageEventHandlers event)The event handler -
Methods inherited from class ai.platon.pulsar.common.urls.UrlAware
getArgs, getConfiguredUrl, getCountry, getDeadline, getDistrict, getHref, getLabel, getLang, getNMaxRetry, getPriority, getReferrer, getToURL, getToURLOrNull, getUrl, isNil, isPersistable, isStandard, setArgs, setHref, setPriority, setReferrer, setUrl -
Methods inherited from class ai.platon.pulsar.crawl.common.url.CompletableHyperlink
getAuthToken, getCreatedAt, getModifiedAt, getOrder, getRemoteAddr, getStatus, getText, setAuthToken, setModifiedAt, setOrder, setRemoteAddr, setStatus, setText -
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, exceptionally, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, join, minimalCompletionStage, newIncompleteFuture, obtrudeException, obtrudeValue, orTimeout, 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, whenComplete, whenCompleteAsync, whenCompleteAsync -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getEvent
PageEventHandlers getEvent()
The event handler
-
setEvent
Unit setEvent(PageEventHandlers event)
The event handler
-
-
-
-