Class AbstractHTTPPushRequest
- java.lang.Object
-
- org.apache.eventmesh.runtime.core.protocol.http.retry.RetryContext
-
- org.apache.eventmesh.runtime.core.protocol.http.push.AbstractHTTPPushRequest
-
- All Implemented Interfaces:
java.lang.Comparable<java.util.concurrent.Delayed>,java.util.concurrent.Delayed,DelayRetryable
- Direct Known Subclasses:
AsyncHTTPPushRequest
public abstract class AbstractHTTPPushRequest extends RetryContext
-
-
Field Summary
Fields Modifier and Type Field Description longcreateTimeEventMeshHTTPConfigurationeventMeshHttpConfigurationEventMeshHTTPServereventMeshHTTPServerHandleMsgContexthandleMsgContextlonglastPushTimeHttpRetryerretryerintstartIdxjava.util.List<java.lang.String>totalUrlsintttljava.util.Map<java.lang.String,java.util.List<java.lang.String>>urls-
Fields inherited from class org.apache.eventmesh.runtime.core.protocol.http.retry.RetryContext
executeTime, retryTimes
-
-
Constructor Summary
Constructors Constructor Description AbstractHTTPPushRequest(HandleMsgContext handleMsgContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomplete()voiddelayRetry()voiddelayRetry(long delayTime)java.lang.StringgetUrl()booleanisComplete()voidtimeout()voidtryHTTPRequest()-
Methods inherited from class org.apache.eventmesh.runtime.core.protocol.http.retry.RetryContext
compareTo, delay, getDelay
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.eventmesh.runtime.core.protocol.http.retry.DelayRetryable
retry
-
-
-
-
Field Detail
-
eventMeshHTTPServer
public EventMeshHTTPServer eventMeshHTTPServer
-
createTime
public long createTime
-
lastPushTime
public long lastPushTime
-
urls
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> urls
-
totalUrls
public java.util.List<java.lang.String> totalUrls
-
startIdx
public volatile int startIdx
-
eventMeshHttpConfiguration
public EventMeshHTTPConfiguration eventMeshHttpConfiguration
-
retryer
public HttpRetryer retryer
-
ttl
public int ttl
-
handleMsgContext
public HandleMsgContext handleMsgContext
-
-
Constructor Detail
-
AbstractHTTPPushRequest
public AbstractHTTPPushRequest(HandleMsgContext handleMsgContext)
-
-