C# OJAI Client API
|
Static Public Member Functions | |
static void | SetCustomRetryPolicy (uint retryCount, double retryExponentialMultiplier) |
Set custom retry policy. More... | |
static void | ResetCustomRetryPolicy () |
Remove custom retry policy. More... | |
static void | SetCustomAsyncRetryPolicy (uint retryCount, double retryExponentialMultiplier) |
Set custom async retry policy. More... | |
static void | ResetCustomAsyncRetryPolicy () |
Remove custom async retry policy. More... | |
static T | RunRetryPolicy< T > (Func< T > Request) |
Retry decorator for synchronous operations. More... | |
static async Task< T > | RunRetryPolicyAsync< T > (Func< AsyncUnaryCall< T >> Request) |
Retry decorator for asynchronous operations. More... | |
Static Private Attributes | |
static RetryPolicy | _retryPolicy |
static RetryPolicy | _asyncRetryPolicy |
static RetryPolicy | _customRetryPolicy = null |
static RetryPolicy | _customAsyncRetryPolicy = null |
|
static |
Remove custom async retry policy.
|
static |
Remove custom retry policy.
|
static |
Retry decorator for synchronous operations.
|
static |
Retry decorator for asynchronous operations.
|
static |
Set custom async retry policy.
|
static |
Set custom retry policy.
|
staticprivate |
|
staticprivate |