Class BatchSettings
- java.lang.Object
-
- com.lightbend.cinnamon.opentelemetry.logs.BatchSettings
-
public final class BatchSettings extends java.lang.ObjectConfigurable settings for batch log record processors.
-
-
Field Summary
Fields Modifier and Type Field Description java.time.DurationexporterTimeoutintmaxExportBatchSizeintmaxQueueSizejava.time.DurationscheduleDelay
-
Constructor Summary
Constructors Constructor Description BatchSettings(java.time.Duration scheduleDelay, java.time.Duration exporterTimeout, int maxQueueSize, int maxExportBatchSize)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchSettingsfromConfig(com.typesafe.config.Config config, Logger log)Create batch log record processor settings from configuration.java.lang.StringtoString()
-
-
-
Method Detail
-
fromConfig
public static BatchSettings fromConfig(com.typesafe.config.Config config, Logger log)
Create batch log record processor settings from configuration.- Parameters:
config- the exporter section Configlog- the Cinnamon Logger- Returns:
- batch settings from config
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-