Table of Contents

Class HystrixCommandExecutionHook

Namespace
Steeltoe.CircuitBreaker.Hystrix.Strategy.ExecutionHook
Assembly
Steeltoe.CircuitBreaker.HystrixBase.dll
public abstract class HystrixCommandExecutionHook
Inheritance
HystrixCommandExecutionHook
Derived
Inherited Members

Methods

OnCacheHit(IHystrixInvokable)

public virtual void OnCacheHit(IHystrixInvokable commandInstance)

Parameters

commandInstance IHystrixInvokable

OnEmit<T>(IHystrixInvokable, T)

public virtual T OnEmit<T>(IHystrixInvokable commandInstance, T value)

Parameters

commandInstance IHystrixInvokable
value T

Returns

T

Type Parameters

T

OnError(IHystrixInvokable, FailureType, Exception)

public virtual Exception OnError(IHystrixInvokable commandInstance, FailureType failureType, Exception e)

Parameters

commandInstance IHystrixInvokable
failureType FailureType
e Exception

Returns

Exception

OnExecutionEmit<T>(IHystrixInvokable, T)

public virtual T OnExecutionEmit<T>(IHystrixInvokable commandInstance, T value)

Parameters

commandInstance IHystrixInvokable
value T

Returns

T

Type Parameters

T

OnExecutionError(IHystrixInvokable, Exception)

public virtual Exception OnExecutionError(IHystrixInvokable commandInstance, Exception e)

Parameters

commandInstance IHystrixInvokable
e Exception

Returns

Exception

OnExecutionStart(IHystrixInvokable)

public virtual void OnExecutionStart(IHystrixInvokable commandInstance)

Parameters

commandInstance IHystrixInvokable

OnExecutionSuccess(IHystrixInvokable)

public virtual void OnExecutionSuccess(IHystrixInvokable commandInstance)

Parameters

commandInstance IHystrixInvokable

OnFallbackEmit<T>(IHystrixInvokable, T)

public virtual T OnFallbackEmit<T>(IHystrixInvokable commandInstance, T value)

Parameters

commandInstance IHystrixInvokable
value T

Returns

T

Type Parameters

T

OnFallbackError(IHystrixInvokable, Exception)

public virtual Exception OnFallbackError(IHystrixInvokable commandInstance, Exception e)

Parameters

commandInstance IHystrixInvokable
e Exception

Returns

Exception

OnFallbackStart(IHystrixInvokable)

public virtual void OnFallbackStart(IHystrixInvokable commandInstance)

Parameters

commandInstance IHystrixInvokable

OnFallbackSuccess(IHystrixInvokable)

public virtual void OnFallbackSuccess(IHystrixInvokable commandInstance)

Parameters

commandInstance IHystrixInvokable

OnStart(IHystrixInvokable)

public virtual void OnStart(IHystrixInvokable commandInstance)

Parameters

commandInstance IHystrixInvokable

OnSuccess(IHystrixInvokable)

public virtual void OnSuccess(IHystrixInvokable commandInstance)

Parameters

commandInstance IHystrixInvokable

OnThreadComplete(IHystrixInvokable)

public virtual void OnThreadComplete(IHystrixInvokable commandInstance)

Parameters

commandInstance IHystrixInvokable

OnThreadStart(IHystrixInvokable)

public virtual void OnThreadStart(IHystrixInvokable commandInstance)

Parameters

commandInstance IHystrixInvokable