RetryingEventArgs Class
- java.
lang. Object - EventArgs
- com.
microsoft. azure. elasticdb. core. commons. transientfaulthandling. RetryingEventArgs
- com.
public class RetryingEventArgs
Shard management retrying event arguments.
Constructor Summary
Constructor | Description |
---|---|
RetryingEventArgs(int retryCount, Duration delay, RuntimeException ex) |
Initializes a new instance of the RetryingEventArgs class. |
RetryingEventArgs(RetryingEventArgs arg) |
Initializes new instance of RetryingEventArgs class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
int | getCurrentRetryCount() |
Duration | getDelay() |
RuntimeException | getLastException() |
Constructor Details
RetryingEventArgs
public RetryingEventArgs(int retryCount, Duration delay, RuntimeException ex)
Initializes a new instance of the RetryingEventArgs class.
Parameters:
RetryingEventArgs
public RetryingEventArgs(RetryingEventArgs arg)
Initializes new instance of RetryingEventArgs class.
Parameters:
Method Details
getCurrentRetryCount
public int getCurrentRetryCount()
getDelay
public Duration getDelay()
getLastException
public RuntimeException getLastException()
Applies to
Azure SDK for Java
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour