C# 클래스 Spring.Retry.Retry.Support.DefaultRetryState

Default Retry State.
상속: IRetryState
파일 보기 프로젝트 열기: spring-projects/spring-net-retry

공개 메소드들

메소드 설명
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