The built-in RetryPolicy implementations are currently not declared as final, which makes it technically possible to extend them.
However, they are not actually designed to be extensible.
- Their fields are
privateand do not have accessor methods. - Their
RetryExecutionimplementations are alsoprivate, which prevents reuse.
In light of the above, we should make all built-in RetryPolicy implementations final.