Class HttpRetryer
- java.lang.Object
-
- org.apache.eventmesh.runtime.core.protocol.http.retry.HttpRetryer
-
public class HttpRetryer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HttpRetryer(EventMeshHTTPServer eventMeshHTTPServer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.DelayQueue<DelayRetryable>getFailedQueue()Get failed queue, this method is just used for metrics.voidinit()voidpushRetry(DelayRetryable delayRetryable)voidshutdown()intsize()voidstart()
-
-
-
Constructor Detail
-
HttpRetryer
public HttpRetryer(EventMeshHTTPServer eventMeshHTTPServer)
-
-
Method Detail
-
pushRetry
public void pushRetry(DelayRetryable delayRetryable)
-
init
public void init()
-
size
public int size()
-
getFailedQueue
public java.util.concurrent.DelayQueue<DelayRetryable> getFailedQueue()
Get failed queue, this method is just used for metrics.
-
shutdown
public void shutdown()
-
start
public void start() throws java.lang.Exception- Throws:
java.lang.Exception
-
-