@@ -91,7 +91,7 @@ public static class HttpScheme {
9191 private final HttpHost _proxy ;
9292 private final String _proxyUsername ;
9393 private final String _proxyPassword ;
94- private final ProxyRuntimeStorage _proxyRuntimeStorage ;
94+ private final ProxyRuntimeProvider _proxyRuntimeProvider ;
9595 private final ProxyMTLSAuth _proxyMtlsAuth ;
9696
9797 // To be set during startup
@@ -126,7 +126,7 @@ private SplitClientConfig(String endpoint,
126126 HttpHost proxy ,
127127 String proxyUsername ,
128128 String proxyPassword ,
129- ProxyRuntimeStorage proxyRuntimeStorage ,
129+ ProxyRuntimeProvider proxyRuntimeProvider ,
130130 ProxyMTLSAuth proxyMtlsAuth ,
131131 int eventsQueueSize ,
132132 long eventSendIntervalInMillis ,
@@ -181,7 +181,7 @@ private SplitClientConfig(String endpoint,
181181 _proxy = proxy ;
182182 _proxyUsername = proxyUsername ;
183183 _proxyPassword = proxyPassword ;
184- _proxyRuntimeStorage = proxyRuntimeStorage ;
184+ _proxyRuntimeProvider = proxyRuntimeProvider ;
185185 _proxyMtlsAuth = proxyMtlsAuth ;
186186 _eventsQueueSize = eventsQueueSize ;
187187 _eventSendIntervalInMillis = eventSendIntervalInMillis ;
@@ -314,8 +314,8 @@ public String proxyPassword() {
314314 return _proxyPassword ;
315315 }
316316
317- public ProxyRuntimeStorage proxyRuntimeStorage () {
318- return _proxyRuntimeStorage ;
317+ public ProxyRuntimeProvider proxyRuntimeStorage () {
318+ return _proxyRuntimeProvider ;
319319 }
320320
321321 public ProxyMTLSAuth proxyMTLSAuth () {
@@ -463,7 +463,7 @@ public static final class Builder {
463463 private String _proxyScheme = HttpScheme .HTTP ;
464464 private String _proxyUsername ;
465465 private String _proxyPassword ;
466- private ProxyRuntimeStorage _proxyRuntimeStorage ;
466+ private ProxyRuntimeProvider _proxyRuntimeProvider ;
467467 private ProxyMTLSAuth _proxyMtlsAuth ;
468468 private int _eventsQueueSize = 500 ;
469469 private long _eventSendIntervalInMillis = 30 * (long )1000 ;
@@ -813,11 +813,11 @@ public Builder proxyPassword(String proxyPassword) {
813813 /**
814814 * Set the token for authentication against the proxy (if proxy settings are enabled). (Optional).
815815 *
816- * @param proxyRuntimeStorage
816+ * @param proxyRuntimeProvider
817817 * @return this builder
818818 */
819- public Builder proxyRuntimeStorage (ProxyRuntimeStorage proxyRuntimeStorage ) {
820- _proxyRuntimeStorage = proxyRuntimeStorage ;
819+ public Builder proxyRuntimeStorage (ProxyRuntimeProvider proxyRuntimeProvider ) {
820+ _proxyRuntimeProvider = proxyRuntimeProvider ;
821821 return this ;
822822 }
823823
@@ -1161,19 +1161,19 @@ private void verifyProxy() {
11611161 throw new IllegalArgumentException ("Proxy scheme must be either http or https." );
11621162 }
11631163
1164- if (_proxyUsername == null && _proxyRuntimeStorage == null && _proxyMtlsAuth == null ) {
1164+ if (_proxyUsername == null && _proxyRuntimeProvider == null && _proxyMtlsAuth == null ) {
11651165 return ;
11661166 }
11671167
1168- if (_proxyUsername != null && _proxyRuntimeStorage != null ) {
1168+ if (_proxyUsername != null && _proxyRuntimeProvider != null ) {
11691169 throw new IllegalArgumentException ("Proxy user and Proxy token params are updated, set only one param." );
11701170 }
11711171
11721172 if (_proxyUsername != null && _proxyMtlsAuth != null ) {
11731173 throw new IllegalArgumentException ("Proxy user and Proxy mTLS params are updated, set only one param." );
11741174 }
11751175
1176- if (_proxyRuntimeStorage != null && _proxyMtlsAuth != null ) {
1176+ if (_proxyRuntimeProvider != null && _proxyMtlsAuth != null ) {
11771177 throw new IllegalArgumentException ("Proxy token and Proxy mTLS params are updated, set only one param." );
11781178 }
11791179
@@ -1223,7 +1223,7 @@ public SplitClientConfig build() {
12231223 proxy (),
12241224 _proxyUsername ,
12251225 _proxyPassword ,
1226- _proxyRuntimeStorage ,
1226+ _proxyRuntimeProvider ,
12271227 _proxyMtlsAuth ,
12281228 _eventsQueueSize ,
12291229 _eventSendIntervalInMillis ,
0 commit comments