Uses of Class
codes.grow.packages.betterstack.logging.BatchOptions.Builder
Packages that use BatchOptions.Builder
-
Uses of BatchOptions.Builder in codes.grow.packages.betterstack.logging
Methods in codes.grow.packages.betterstack.logging that return BatchOptions.BuilderModifier and TypeMethodDescriptionstatic BatchOptions.BuilderBatchOptions.builder()Returns a builder with the defaults.BatchOptions.Builder.dropPolicy(DropPolicy dropPolicy) Sets the drop policy.BatchOptions.Builder.exportTimeout(Duration exportTimeout) Sets the export timeout.BatchOptions.Builder.flushInterval(Duration flushInterval) Sets the background flush interval.BatchOptions.Builder.gzip(boolean gzip) Enables or disables gzip.BatchOptions.Builder.maxBatchBytes(int maxBatchBytes) Sets the batch byte limit.BatchOptions.Builder.maxBatchSize(int maxBatchSize) Sets the batch size.BatchOptions.Builder.maxExportRetries(int maxExportRetries) Sets how often a batch is re-exported after a retryable failure.BatchOptions.Builder.maxQueueSize(int maxQueueSize) Sets the queue size.BatchOptions.Builder.onDrop(BiConsumer<List<LogRecord>, DropReason> onDrop) Sets the drop callback (exceptions it throws are ignored).BatchOptions.Builder.onError(BiConsumer<Throwable, List<LogRecord>> onError) Sets the export error callback (exceptions it throws are ignored).BatchOptions.Builder.retryBackoff(Duration retryBackoff) Sets the base retry delay (doubled per attempt).BatchOptions.toBuilder()Returns a builder initialised with these options.