C# Class paramore.brighter.commandprocessor.DefaultPolicy

Class DefaultPolicy We use Polly policies to provide Quality of Service. By default we provide them for a Task Queue and require you to register policies with The is a default policy which will retry once only. If you want better control over retries please use the PolicyRegistry to respectively determine retry attempts for putting onto and popping off the queue and for breaking the circuit if we cannot You can register additional policies (or reuse these) to provide QoS for individual handlers. The UsePolicyAttribute and ExceptionPolicyandler provide an easy way to do this using the policies that you add to this registry This is a default implementation of IAmAPolicyRegistry
Inheritance: IAmAPolicyRegistry
Afficher le fichier Open project: iancooper/Paramore

Méthodes publiques

Méthode Description
Get ( string policyName ) : Policy

Gets the default policy of retry once

Has ( string policyName ) : bool

This will always return false as there is only one default policy

Method Details

Get() public méthode

Gets the default policy of retry once
public Get ( string policyName ) : Policy
policyName string Name of the policy. As this a default policy this is not used
Résultat Polly.Policy

Has() public méthode

This will always return false as there is only one default policy
public Has ( string policyName ) : bool
policyName string Name of the policy. As this a default policy this is not used
Résultat bool