Package com.splunk.logging
Class HttpEventCollectorResendMiddleware
- java.lang.Object
-
- com.splunk.logging.HttpEventCollectorMiddleware.HttpSenderMiddleware
-
- com.splunk.logging.HttpEventCollectorResendMiddleware
-
public class HttpEventCollectorResendMiddleware extends HttpEventCollectorMiddleware.HttpSenderMiddleware
Splunk http event collector resend middleware. HTTP event collector middleware plug in that implements a simple resend policy. When HTTP post reply isn't an application error it tries to resend the data. An exponentially growing delay is used to prevent server overflow.
-
-
Constructor Summary
Constructors Constructor Description HttpEventCollectorResendMiddleware(long retriesOnError)
Create a resend middleware component.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
postEvents(List<HttpEventCollectorEventInfo> events, HttpEventCollectorMiddleware.IHttpSender sender, HttpEventCollectorMiddleware.IHttpSenderCallback callback)
-
Methods inherited from class com.splunk.logging.HttpEventCollectorMiddleware.HttpSenderMiddleware
callNext
-
-
-
-
Method Detail
-
postEvents
public void postEvents(List<HttpEventCollectorEventInfo> events, HttpEventCollectorMiddleware.IHttpSender sender, HttpEventCollectorMiddleware.IHttpSenderCallback callback)
- Specified by:
postEvents
in classHttpEventCollectorMiddleware.HttpSenderMiddleware
-
-