Class AsyncHTTPPushRequest
- java.lang.Object
-
- org.apache.eventmesh.runtime.core.protocol.http.retry.RetryContext
-
- org.apache.eventmesh.runtime.core.protocol.http.push.AbstractHTTPPushRequest
-
- org.apache.eventmesh.runtime.core.protocol.http.push.AsyncHTTPPushRequest
-
- All Implemented Interfaces:
java.lang.Comparable<java.util.concurrent.Delayed>,java.util.concurrent.Delayed,DelayRetryable
public class AsyncHTTPPushRequest extends AbstractHTTPPushRequest
-
-
Field Summary
Fields Modifier and Type Field Description org.slf4j.LoggercmdLoggerjava.lang.StringcurrPushUrlorg.slf4j.Loggerloggerorg.slf4j.LoggermessageLogger-
Fields inherited from class org.apache.eventmesh.runtime.core.protocol.http.push.AbstractHTTPPushRequest
createTime, eventMeshHttpConfiguration, eventMeshHTTPServer, handleMsgContext, lastPushTime, retryer, startIdx, totalUrls, ttl, urls
-
Fields inherited from class org.apache.eventmesh.runtime.core.protocol.http.retry.RetryContext
executeTime, retryTimes
-
-
Constructor Summary
Constructors Constructor Description AsyncHTTPPushRequest(HandleMsgContext handleMsgContext, java.util.Map<java.lang.String,java.util.Set<AbstractHTTPPushRequest>> waitingRequests)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanretry()java.lang.StringtoString()voidtryHTTPRequest()-
Methods inherited from class org.apache.eventmesh.runtime.core.protocol.http.push.AbstractHTTPPushRequest
complete, delayRetry, delayRetry, getUrl, isComplete, timeout
-
Methods inherited from class org.apache.eventmesh.runtime.core.protocol.http.retry.RetryContext
compareTo, delay, getDelay
-
-
-
-
Constructor Detail
-
AsyncHTTPPushRequest
public AsyncHTTPPushRequest(HandleMsgContext handleMsgContext, java.util.Map<java.lang.String,java.util.Set<AbstractHTTPPushRequest>> waitingRequests)
-
-
Method Detail
-
tryHTTPRequest
public void tryHTTPRequest()
- Overrides:
tryHTTPRequestin classAbstractHTTPPushRequest
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
retry
public boolean retry()
-
-