BatchProcessingLevel - DataDog/dd-sdk-android GitHub Wiki

enum BatchProcessingLevel : Enum<BatchProcessingLevel>

Defines the policy for sending the batches. High level will mean that more data will be sent in a single upload cycle but more CPU and memory will be used to process the data. Low level will mean that less data will be sent in a single upload cycle but less CPU and memory will be used to process the data.

Parameters

maxBatchesPerUploadJob the maximum number of batches that will be sent in a single upload cycle.

Entries

LOW

LOW

Only 1 batch will be sent in a single upload cycle.

Properties

Name Summary
maxBatchesPerUploadJob [androidJvm]val maxBatchesPerUploadJob: Int
name [androidJvm]val name: String
ordinal [androidJvm]val ordinal: Int

MEDIUM

MEDIUM

10 batches will be sent in a single upload cycle.

Properties

Name Summary
maxBatchesPerUploadJob [androidJvm]val maxBatchesPerUploadJob: Int
name [androidJvm]val name: String
ordinal [androidJvm]val ordinal: Int

HIGH

HIGH

100 batches will be sent in a single upload cycle.

Properties

Name Summary
maxBatchesPerUploadJob [androidJvm]val maxBatchesPerUploadJob: Int
name [androidJvm]val name: String
ordinal [androidJvm]val ordinal: Int

Properties

maxBatchesPerUploadJob

val maxBatchesPerUploadJob: Int

Parameters
maxBatchesPerUploadJob the maximum number of batches that will be sent in a single upload cycle.

Functions

valueOf

fun valueOf(value: String): BatchProcessingLevel

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
IllegalArgumentException if this enum type has no constant with the specified name

values

fun values(): Array<BatchProcessingLevel>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.