Package ai.platon.pulsar.common.urls
Class AbstractStatefulUrl
-
- All Implemented Interfaces:
-
ai.platon.pulsar.common.urls.ComparableUrlAware,ai.platon.pulsar.common.urls.StatefulUrl,ai.platon.pulsar.common.urls.UrlAware,kotlin.Comparable
public abstract class AbstractStatefulUrl extends AbstractUrl implements StatefulUrl
-
-
Field Summary
Fields Modifier and Type Field Description private Integerstatusprivate InstantmodifiedAtprivate final InstantcreatedAtprivate final StringconfiguredUrlprivate final BooleanisStandardprivate final URLtoURLprivate final URLtoURLOrNullprivate final BooleanisNilprivate final BooleanisPersistableprivate final Stringlabelprivate final Instantdeadlineprivate Stringlangprivate Stringcountryprivate Stringdistrictprivate IntegernMaxRetryprivate Stringurlprivate Stringargsprivate Stringreferrerprivate Stringhrefprivate Integerpriorityprivate final Stringrefererprivate final InstantdeadTimeprivate StringauthTokenprivate StringremoteAddr
-
Constructor Summary
Constructors Constructor Description AbstractStatefulUrl(String url, String args, String referrer)
-
Method Summary
Modifier and Type Method Description IntegergetStatus()UnitsetStatus(Integer status)InstantgetModifiedAt()UnitsetModifiedAt(Instant modifiedAt)InstantgetCreatedAt()-
Methods inherited from class ai.platon.pulsar.common.urls.AbstractUrl
compareTo, equals, getArgs, getConfiguredUrl, getCountry, getDeadline, getDistrict, getHref, getLabel, getLang, getNMaxRetry, getPriority, getReferrer, getToURL, getToURLOrNull, getUrl, hashCode, isNil, isPersistable, isStandard, serialize, setArgs, setCountry, setDistrict, setHref, setLang, setNMaxRetry, setPriority, setReferrer, setUrl, toString -
Methods inherited from class ai.platon.pulsar.common.urls.UrlAware
getDeadTime, getReferer -
Methods inherited from class ai.platon.pulsar.common.urls.StatefulUrl
getAuthToken, getRemoteAddr, setAuthToken, setRemoteAddr -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getModifiedAt
Instant getModifiedAt()
-
setModifiedAt
Unit setModifiedAt(Instant modifiedAt)
-
getCreatedAt
Instant getCreatedAt()
-
-
-
-