withJitter


Description:

public Retry withJitter (bool enabled)

Enables or disables random jitter.

When enabled, actual delay is randomized between 0 and calculated delay (inclusive), reducing retry bursts under high concurrency.

Parameters:

enabled

true to enable jitter.

Returns:

this retry instance.