You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was stepping through code that was calling RetryPolicyBuilder. It would be nice to see the state in the debugger to make sure I got the code right. I know I can expand the object and see it's fields, but this interrupts my flow.
Note: RetryPolicyImpl does not have any state except RetryPolicyConfig. So, this would be the implementation of RetryPolicyImpl.toString().
@Override
public String toString() {
return config.toString();
}
However, RetryPolicyConfig has a lot of state. So, perhaps toString() only returns the values that are set. For example, if jitter is not set, then toString() won't show it.
Please implement
toString()
in all classes. This will help when debugging since the programmer can see what the state of the object is.The text was updated successfully, but these errors were encountered: