TransientFaultEvidence Constructor
Definition
- Namespace
- Cuemon.Resilience
- Assemblies
- Cuemon.Core.dll
TransientFaultEvidence(int, TimeSpan, TimeSpan, TimeSpan, MethodDescriptor)
Initializes a new instance of the TransientFaultEvidence class.
public TransientFaultEvidence(int attempts, TimeSpan recoveryWaitTime, TimeSpan totalRecoveryWaitTime, TimeSpan latency, MethodDescriptor descriptor)
Parameters
attemptsintThe number of attempts the
descriptorwas invoked.recoveryWaitTimeTimeSpanThe last wait time attempting recovery of
descriptor.totalRecoveryWaitTimeTimeSpanThe total wait time attempting recovery of
descriptor.latencyTimeSpanThe latency experienced with
descriptor.descriptorMethodDescriptorThe information about the method being protected from a transient fault.
TransientFaultEvidence(int, TimeSpan, TimeSpan, TimeSpan, MethodSignature)
Initializes a new instance of the TransientFaultEvidence class.
public TransientFaultEvidence(int attempts, TimeSpan recoveryWaitTime, TimeSpan totalRecoveryWaitTime, TimeSpan latency, MethodSignature descriptor)
Parameters
attemptsintThe number of attempts the
descriptorwas invoked.recoveryWaitTimeTimeSpanThe last wait time attempting recovery of
descriptor.totalRecoveryWaitTimeTimeSpanThe total wait time attempting recovery of
descriptor.latencyTimeSpanThe latency experienced with
descriptor.descriptorMethodSignatureThe information about the method being protected from a transient fault.