Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #region Using Directives
- using System;
- using Endjin.Core.Retry.Policies;
- #endregion
- public class RetryUntilLeaseAcquiredPolicy : IRetryPolicy
- {
- public bool CanRetry(Exception exception)
- {
- var actualException = exception as LeaseAcquisitionUnsuccessfulException;
- return actualException != null;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement