RetryContext Interface
public interface RetryContext
The Retry context that is obtained from the host.
Method Summary
Modifier and Type | Method and Description |
---|---|
Rpc |
getException()
Returns the exception that caused the retry |
int |
getMaxretrycount()
Returns the max retry count |
int |
getRetrycount()
Returns the current retry count |
Method Details
getException
public RpcException getException()
Returns the exception that caused the retry
Returns:
the exception that caused the retry.
getMaxretrycount
public int getMaxretrycount()
Returns the max retry count
Returns:
the max retry count.
getRetrycount
public int getRetrycount()
Returns the current retry count
Returns:
the current retry count.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java