Method | Description | |
---|---|---|
Do ( int times, TimeSpan>.Func |
Does async func and retries if it failed
|
|
Do ( int times, TimeSpan>.Func |
Does async func and retries if it failed
|
|
Do ( int times, Func |
Does func and retries if it failed
|
|
Do ( int times, TimeSpan>.Func |
Does func and retries if it failed
|
|
Do ( int times, TimeSpan>.Func |
Does func and retries if it failed
|
|
Do ( int times, bool>.Func |
Does func and retries if it failed
|
Method | Description | |
---|---|---|
DefaultExceptionProcessor ( |
||
DefaultExceptionProcessorAsync ( |
public static Do ( int times, TimeSpan>.Func |
||
times | int | Maximum times to retry |
retryDelay | TimeSpan>.Func | Func that returns time between each retry. First parameter is number of tries before. |
act | Func |
Async Func with action and which returns false if retry required. Throw exception if action fail and can not be retried. |
return | Task |
public static Do ( int times, TimeSpan>.Func |
||
times | int | Maximum times to retry |
retryDelay | TimeSpan>.Func | Func that returns time between each retry. First parameter is number of tries before. |
act | Func |
Async Func with action and which returns false if retry required. Throw exception if action fail and can not be retried. |
exceptionPocessor | Func |
Async Func that checks exception and return true if action can not be retried |
return | Task |
public static Do ( int times, Func |
||
times | int | Maximum times to retry |
act | Func |
Func with action and which returns false if retry required. Throw exception if action fail and can not be retried. |
return | bool |
public static Do ( int times, TimeSpan>.Func |
||
times | int | Maximum times to retry |
retryDelay | TimeSpan>.Func | Func that returns time between each retry. First parameter is number of tries before. |
act | Func |
Func with action and which returns false if retry required. Throw exception if action fail and can not be retried. |
return | bool |
public static Do ( int times, TimeSpan>.Func |
||
times | int | Maximum times to retry |
retryDelay | TimeSpan>.Func | Func that returns time between each retry. First parameter is number of tries before. |
act | Func |
Func with action and which returns false if retry required. Throw exception if action fail and can not be retried. |
exceptionPocessor | bool>.Func | Func that checks exception and return true if action can not be retried |
return | bool |
public static Do ( int times, bool>.Func |
||
times | int | Maximum times to retry |
act | bool>.Func | Func with action and which returns false if retry required. Throw exception if action fail and can not be retried.. Throw exception if action fail and can not be retried. Throw exception if action fail and can not be retried. |
return | bool |