Class SbmHostConfig
java.lang.Object
io.sbk.logger.SbmHostConfig
Configuration for the SBK Benchmark Manager (SBM) gRPC endpoint.
Used by
io.sbk.logger.impl.GrpcLogger to connect and stream metrics to SBM.-
Field Summary
FieldsModifier and TypeFieldDescriptionlongForced channel shutdown timeout in seconds.longGraceful channel shutdown timeout in seconds.longTerminal failure-report deadline in seconds.Hostname or IP address of the SBM server.intMaximum number of immutable batches waiting for the gRPC sender.intMaximum record payload size in MB when sending latencies.intPort of the SBM server.longStream drain and acknowledgement timeout in seconds. -
Constructor Summary
ConstructorsConstructorDescriptionCreates an empty SBM host configuration for property binding. -
Method Summary
-
Field Details
-
host
Hostname or IP address of the SBM server. -
port
public int portPort of the SBM server. -
maxRecordSizeMB
public int maxRecordSizeMBMaximum record payload size in MB when sending latencies. -
maximumPendingBatches
public int maximumPendingBatchesMaximum number of immutable batches waiting for the gRPC sender. -
failureReportTimeoutSeconds
public long failureReportTimeoutSecondsTerminal failure-report deadline in seconds. -
streamCloseTimeoutSeconds
public long streamCloseTimeoutSecondsStream drain and acknowledgement timeout in seconds. -
channelShutdownTimeoutSeconds
public long channelShutdownTimeoutSecondsGraceful channel shutdown timeout in seconds. -
channelForceShutdownTimeoutSeconds
public long channelForceShutdownTimeoutSecondsForced channel shutdown timeout in seconds.
-
-
Constructor Details
-
SbmHostConfig
public SbmHostConfig()Creates an empty SBM host configuration for property binding.
-