Skip to content

Add Duration support for FixedBackOff and ExponentialBackOffΒ #35356

@snicoll

Description

@snicoll

When creating a BackOff instance via RetryPolicy, we get support for Duration. However, when creating the BackOff implementation manually, we have to provide long value in milliseconds.

That's not a big deal but it'd be nice if the implementation themselves had support for Duration, potentially deprecating the long variant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)status: waiting-for-triageAn issue we've not yet triaged or decided ontype: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions