C# Класс Spring.Retry.Retry.Support.DefaultRetryState

Default Retry State.
Наследование: IRetryState
Показать файл Открыть проект

Открытые методы

Метод Описание
DefaultRetryState ( object key ) : System

Initializes a new instance of the DefaultRetryState class, defaulting the force refresh flag to false and the rollback classifier to null.

DefaultRetryState ( object key, bool>.IClassifier rollbackClassifier ) : System

Initializes a new instance of the DefaultRetryState class, defaulting the force refresh flag to false.

DefaultRetryState ( object key, bool forceRefresh ) : System

Initializes a new instance of the DefaultRetryState class, defaulting the rollback classifier to null.

DefaultRetryState ( object key, bool forceRefresh, bool>.IClassifier rollbackClassifier ) : System

Initializes a new instance of the DefaultRetryState class. Initializes a new instance of the DefaultRetryState representing the state for a new retry attempt.

GetKey ( ) : object

The get key.

IsForceRefresh ( ) : bool

The is force refresh.

RollbackFor ( Exception exception ) : bool

The rollback for.

ToString ( ) : string

Описание методов

DefaultRetryState() публичный Метод

Initializes a new instance of the DefaultRetryState class, defaulting the force refresh flag to false and the rollback classifier to null.
public DefaultRetryState ( object key ) : System
key object The key.
Результат System

DefaultRetryState() публичный Метод

Initializes a new instance of the DefaultRetryState class, defaulting the force refresh flag to false.
public DefaultRetryState ( object key, bool>.IClassifier rollbackClassifier ) : System
key object The key.
rollbackClassifier bool>.IClassifier The rollback classifier.
Результат System

DefaultRetryState() публичный Метод

Initializes a new instance of the DefaultRetryState class, defaulting the rollback classifier to null.
public DefaultRetryState ( object key, bool forceRefresh ) : System
key object The key.
forceRefresh bool The force refresh.
Результат System

DefaultRetryState() публичный Метод

Initializes a new instance of the DefaultRetryState class. Initializes a new instance of the DefaultRetryState representing the state for a new retry attempt.
public DefaultRetryState ( object key, bool forceRefresh, bool>.IClassifier rollbackClassifier ) : System
key object The key for the state to allow this retry attempt to be recognised.
forceRefresh bool True if the attempt is known to be a brand new state (could not have previously failed).
rollbackClassifier bool>.IClassifier The rollback classifier to set. The rollback classifier answers true if the exception provided should cause a rollback.
Результат System

GetKey() публичный Метод

The get key.
public GetKey ( ) : object
Результат object

IsForceRefresh() публичный Метод

The is force refresh.
public IsForceRefresh ( ) : bool
Результат bool

RollbackFor() публичный Метод

The rollback for.
public RollbackFor ( Exception exception ) : bool
exception System.Exception The exception.
Результат bool

ToString() публичный Метод

public ToString ( ) : string
Результат string