Class HttpConfig.ApacheHttpConfig

    • Field Summary

      Fields 
      Modifier and Type Field Description
      long connectionKeepAliveMs
      A duration of time which the connection can be safely kept idle for later reuse.
      int maxConnections
      Maximum number of HTTP connections setting for HttpClient
    • Constructor Summary

      Constructors 
      Constructor Description
      ApacheHttpConfig​(int maxConnections, long connectionKeepAliveMs)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
    • Constructor Detail

      • ApacheHttpConfig

        public ApacheHttpConfig​(int maxConnections,
                                long connectionKeepAliveMs)