C# 클래스 Spring.Retry.Retry.Context.RetryContextSupport

Retry Context Support
상속: Spring.Core.AttributeAccessorSupport, IRetryContext
파일 보기 프로젝트 열기: spring-projects/spring-net-retry

공개 메소드들

메소드 설명
GetParent ( ) : IRetryContext

The get parent.

RegisterException ( Exception exception ) : void

Set the exception for the public interface IRetryContext, and also increment the retry count if the throwable is non-null. All IRetryPolicy implementations should use this method when they register the exception. It should only be called once per retry attempt because it increments a counter. Use of this method is not enforced by the framework - it is a service provider contract for authors of policies.

RetryContextSupport ( IRetryContext parent ) : System

Initializes a new instance of the RetryContextSupport class.

ToString ( ) : string

The to string.

메소드 상세

GetParent() 공개 메소드

The get parent.
public GetParent ( ) : IRetryContext
리턴 IRetryContext

RegisterException() 공개 메소드

Set the exception for the public interface IRetryContext, and also increment the retry count if the throwable is non-null. All IRetryPolicy implementations should use this method when they register the exception. It should only be called once per retry attempt because it increments a counter. Use of this method is not enforced by the framework - it is a service provider contract for authors of policies.
public RegisterException ( Exception exception ) : void
exception System.Exception The exception that caused the current retry attempt to fail.
리턴 void

RetryContextSupport() 공개 메소드

Initializes a new instance of the RetryContextSupport class.
public RetryContextSupport ( IRetryContext parent ) : System
parent IRetryContext The parent.
리턴 System

ToString() 공개 메소드

The to string.
public ToString ( ) : string
리턴 string