BackPressureMitigation - DataDog/dd-sdk-android GitHub Wiki
Defines the mitigation to use when a queue hits the maximum back pressure capacity.
Entries
DROP_OLDEST
Drop the oldest items already in the queue to make room for new ones.
Properties
Name | Summary |
---|---|
name | [androidJvm]val name: String |
ordinal | [androidJvm]val ordinal: Int |
IGNORE_NEWEST
Ignore newest items that are not yet in the queue.
Properties
Name | Summary |
---|---|
name | [androidJvm]val name: String |
ordinal | [androidJvm]val ordinal: Int |
Functions
valueOf
fun valueOf(value: String): BackPressureMitigation
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<BackPressureMitigation>
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.