SqlDatabaseTransientErrorDetectionStrategy Class
- java.
lang. Object - ITransientErrorDetectionStrategy
- com.
microsoft. azure. elasticdb. core. commons. transientfaulthandling. SqlDatabaseTransientErrorDetectionStrategy
- com.
public class SqlDatabaseTransientErrorDetectionStrategy implements ITransientErrorDetectionStrategy
Provides the transient error detection logic for transient faults that are specific to SQL Database.
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.
Overrides:
SqlDatabaseTransientErrorDetectionStrategy.isTransient(Exception ex)Parameters:
Returns:
Applies to
Azure SDK for Java
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по