Package com.github.loki4j.client.http
Class HttpConfig.ApacheHttpConfig
- java.lang.Object
-
- com.github.loki4j.client.http.HttpConfig.ApacheHttpConfig
-
- All Implemented Interfaces:
HttpConfig.ClientSpecificConfig
- Enclosing class:
- HttpConfig
public static class HttpConfig.ApacheHttpConfig extends java.lang.Object implements HttpConfig.ClientSpecificConfig
-
-
Field Summary
Fields Modifier and Type Field Description longconnectionKeepAliveMsA duration of time which the connection can be safely kept idle for later reuse.intmaxConnectionsMaximum number of HTTP connections setting for HttpClient
-
Constructor Summary
Constructors Constructor Description ApacheHttpConfig(int maxConnections, long connectionKeepAliveMs)
-
-
-
Field Detail
-
maxConnections
public final int maxConnections
Maximum number of HTTP connections setting for HttpClient
-
connectionKeepAliveMs
public final long connectionKeepAliveMs
A duration of time which the connection can be safely kept idle for later reuse. This value should not be greater than server.http-idle-timeout in your Loki config
-
-