ITransientErrorDetectionStrategy Interface
public interface ITransientErrorDetectionStrategy
Defines an interface that must be implemented by custom components responsible for detecting specific transient conditions.
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean |
isTransient(Exception ex)
Determines whether the specified exception represents a transient failure that can be compensated by a retry. |
Method Details
isTransient
public boolean isTransient(Exception ex)
Determines whether the specified exception represents a transient failure that can be compensated by a retry.
Parameters:
ex
- The exception object to be verified.
Returns:
true if the specified exception is considered as transient; otherwise, false.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for Java