public static class WavefrontProxyClient.Builder extends Object
| Constructor and Description |
|---|
Builder(String proxyHostName)
WavefrontProxyClient.Builder
|
| Modifier and Type | Method and Description |
|---|---|
WavefrontProxyClient |
build()
Builds WavefrontProxyClient instance
|
WavefrontProxyClient.Builder |
distributionPort(int distributionPort)
Invoke this method to enable sending distribution to Wavefront cluster via proxy
|
WavefrontProxyClient.Builder |
flushIntervalSeconds(int flushIntervalSeconds)
Set interval at which you want to flush points to Wavefront proxy
|
WavefrontProxyClient.Builder |
metricsPort(int metricsPort)
Invoke this method to enable sending metrics to Wavefront cluster via proxy
|
WavefrontProxyClient.Builder |
socketFactory(SocketFactory socketFactory)
Set an explicit SocketFactory
|
WavefrontProxyClient.Builder |
tracingPort(int tracingPort)
Invoke this method to enable sending tracing spans to Wavefront cluster via proxy
|
public Builder(String proxyHostName)
proxyHostName - Hostname of the Wavefront proxypublic WavefrontProxyClient.Builder metricsPort(int metricsPort)
metricsPort - Metrics Port on which the Wavefront proxy is listening onthispublic WavefrontProxyClient.Builder distributionPort(int distributionPort)
distributionPort - Distribution Port on which the Wavefront proxy is listening onthispublic WavefrontProxyClient.Builder tracingPort(int tracingPort)
tracingPort - Tracing Port on which the Wavefront proxy is listening onthispublic WavefrontProxyClient.Builder socketFactory(SocketFactory socketFactory)
socketFactory - SocketFactorythispublic WavefrontProxyClient.Builder flushIntervalSeconds(int flushIntervalSeconds)
flushIntervalSeconds - Interval at which you want to flush points to Wavefront proxythispublic WavefrontProxyClient build()
WavefrontProxyClientCopyright © 2020. All rights reserved.