Skip to content

Short-circuit matching algorithm in InstanceFilter #35161

Closed
@sbrannen

Description

@sbrannen

Overview

In commit 97522cf, I implemented a short-circuiting matching algorithm in DefaultRetryPolicy for includes and excludes, which was later copied to MethodRetrySpec.

After we switched to using ExceptionTypeFilter in #35109, I realized that the matching algorithm in InstanceFilter (the superclass of ExceptionTypeFilter) does not exhibit the same short-circuiting characteristics.

In light of that, we should revise the matching algorithm in InstanceFilter to mirror the original short-circuiting algorithm in DefaultRetryPolicy.

Related Issues

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions