Class StatefulListenableHyperlink

  • 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 , kotlin.Comparable

    
    public class StatefulListenableHyperlink
    extends StatefulHyperlink implements ListenableUrl
                        

    A stateful hyperlink that has status and contains a PageEventHandlers to handle page events.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      StatefulListenableHyperlink(String url, String text, Integer order, String referrer, String args, String href, Integer priority, String lang, String country, String district, Integer nMaxRetry, Integer depth, PageEventHandlers eventHandlers)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Boolean isPersistable()
      final Duration getIdleTime()
      PageEventHandlers getEventHandlers() The event handler
      Unit setEventHandlers(PageEventHandlers eventHandlers) The event handler
      • Methods inherited from class ai.platon.pulsar.common.urls.AbstractUrl

        compareTo, equals, getArgs, getConfiguredUrl, getCountry, getDeadline, getDepth, getDistrict, getHref, getLabel, getLang, getNMaxRetry, getOrder, getPriority, getReferrer, getText, getToURL, getToURLOrNull, getUrl, hashCode, isNil, isStandard, serialize, setArgs, setCountry, setDepth, setDistrict, setHref, setLang, setNMaxRetry, setOrder, setPriority, setReferrer, setText, setUrl, toString
      • Methods inherited from class ai.platon.pulsar.common.urls.StatefulHyperlink

        getAuthToken, getCreatedAt, getModifiedAt, getRemoteAddr, getStatus, isAccepted, isCreated, isFinished, isProcessing, setAuthToken, setModifiedAt, setRemoteAddr, setStatus
      • Methods inherited from class ai.platon.pulsar.common.urls.Hyperlink

        data, isDefault, serializeTo, toDatum
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait