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 create a retryer using RetryBuild.
I pass it a shouldRetry() predicate.
I pass it a retryListener
what si the flow?
an onRetry event is triggered to the listener ---> then the predicate is called without the need of the listener to call it(?) ---> if returns "true" the calleable is called again
Or
the predicate is called without the need of the listener to call it(?) ---> if returns "true" the calleable is called again ---> an onRetry event is triggered to the listener
Or
an onRetry event is triggered to the listener, in the onRetry body I have to call explicitly to the retry pre-defined predicate ---> then the predicate is called ---> if returns "true" the calleable is called again
Thanks for clarifying
The text was updated successfully, but these errors were encountered:
elad2109
changed the title
using RetryListener, do I have to trigger the retry even though I set a retry predicator in the retryBuilder?
using RetryListener, do I have to trigger the retry-predicate ?
Feb 27, 2016
I create a
retryer
using RetryBuild.I pass it a
shouldRetry()
predicate.I pass it a
retryListener
what si the flow?
an
onRetry
event is triggered to the listener ---> then thepredicate
is called without the need of the listener to call it(?) ---> if returns "true" the calleable is called againOr
the
predicate
is called without the need of the listener to call it(?) ---> if returns "true" the calleable is called again ---> anonRetry
event is triggered to the listenerOr
an
onRetry
event is triggered to the listener, in theonRetry
body I have to call explicitly to the retry pre-definedpredicate
---> then thepredicate
is called ---> if returns "true" the calleable is called againThanks for clarifying
The text was updated successfully, but these errors were encountered: