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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for Java
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla