public static class WavefrontDirectIngestionClient.Builder extends Object
| Constructor and Description |
|---|
Builder(String server,
String token)
Create a new WavefrontDirectIngestionClient.Builder
|
| Modifier and Type | Method and Description |
|---|---|
WavefrontDirectIngestionClient.Builder |
batchSize(int batchSize)
Set batch size to be reported during every flush.
|
WavefrontDirectIngestionClient |
build()
Creates a new client that connects directly to a given Wavefront service.
|
WavefrontDirectIngestionClient.Builder |
flushIntervalSeconds(int flushIntervalSeconds)
Set interval at which you want to flush points to Wavefront cluster.
|
WavefrontDirectIngestionClient.Builder |
maxQueueSize(int maxQueueSize)
Set max queue size of in-memory buffer.
|
public WavefrontDirectIngestionClient.Builder maxQueueSize(int maxQueueSize)
maxQueueSize - Max queue size of in-memory bufferthispublic WavefrontDirectIngestionClient.Builder batchSize(int batchSize)
batchSize - Batch size to be reported during every flush.thispublic WavefrontDirectIngestionClient.Builder flushIntervalSeconds(int flushIntervalSeconds)
flushIntervalSeconds - Interval at which you want to flush points to Wavefront clusterthispublic WavefrontDirectIngestionClient build()
WavefrontDirectIngestionClientCopyright © 2019. All rights reserved.