Policy
Builds a bulkhead isolation Policy, which limits the maximum concurrency of actions executed through the policy. Imposing a maximum concurrency limits the potential of governed actions, when faulting, to bring down the system.
When an execution would cause the number of actions executing concurrently through the policy to exceed maxParallelization, the action is not executed and a BulkheadRejectedException is thrown.
Builds a bulkhead isolation Policy, which limits the maximum concurrency of actions executed through the policy. Imposing a maximum concurrency limits the potential of governed actions, when faulting, to bring down the system.
When an execution would cause the number of actions executing concurrently through the policy to exceed maxParallelization, the action is not executed and a BulkheadRejectedException is thrown.
When an execution would cause the number of actions executing concurrently through the policy to exceed maxParallelization, the policy allows a further maxQueuingActions executions to queue, waiting for a concurrent execution slot. When an execution would cause the number of queuing actions to exceed maxQueuingActions, a BulkheadRejectedException is thrown.
When an execution would cause the number of actions executing concurrently through the policy to exceed maxParallelization, the policy allows a further maxQueuingActions executions to queue, waiting for a concurrent execution slot. When an execution would cause the number of queuing actions to exceed maxQueuingActions, a BulkheadRejectedException is thrown.
Builds a bulkhead isolation Policy<T>, which limits the maximum concurrency of actions executed through the policy. Imposing a maximum concurrency limits the potential of governed actions, when faulting, to bring down the system.
When an execution would cause the number of actions executing concurrently through the policy to exceed maxParallelization, the action is not executed and a BulkheadRejectedException is thrown.
Builds a bulkhead isolation Policy<T>, which limits the maximum concurrency of actions executed through the policy. Imposing a maximum concurrency limits the potential of governed actions, when faulting, to bring down the system.
When an execution would cause the number of actions executing concurrently through the policy to exceed maxParallelization, the action is not executed and a BulkheadRejectedException is thrown.
When an execution would cause the number of actions executing concurrently through the policy to exceed maxParallelization, the policy allows a further maxQueuingActions executions to queue, waiting for a concurrent execution slot. When an execution would cause the number of queuing actions to exceed maxQueuingActions, a BulkheadRejectedException is thrown.
When an execution would cause the number of actions executing concurrently through the policy to exceed maxParallelization, the policy allows a further maxQueuingActions executions to queue, waiting for a concurrent execution slot. When an execution would cause the number of queuing actions to exceed maxQueuingActions, a BulkheadRejectedException is thrown.
Builds a bulkhead isolation Policy, which limits the maximum concurrency of actions executed through the policy. Imposing a maximum concurrency limits the potential of governed actions, when faulting, to bring down the system.
When an execution would cause the number of actions executing concurrently through the policy to exceed maxParallelization, the action is not executed and a BulkheadRejectedException is thrown.
Builds a bulkhead isolation Policy, which limits the maximum concurrency of actions executed through the policy. Imposing a maximum concurrency limits the potential of governed actions, when faulting, to bring down the system.
When an execution would cause the number of actions executing concurrently through the policy to exceed maxParallelization, the action is not executed and a BulkheadRejectedException is thrown.
When an execution would cause the number of actions executing concurrently through the policy to exceed maxParallelization, the policy allows a further maxQueuingActions executions to queue, waiting for a concurrent execution slot. When an execution would cause the number of queuing actions to exceed maxQueuingActions, a BulkheadRejectedException is thrown.
When an execution would cause the number of actions executing concurrently through the policy to exceed maxParallelization, the policy allows a further maxQueuingActions executions to queue, waiting for a concurrent execution slot. When an execution would cause the number of queuing actions to exceed maxQueuingActions, a BulkheadRejectedException is thrown.
Builds a bulkhead isolation AsyncPolicy<T>, which limits the maximum concurrency of actions executed through the policy. Imposing a maximum concurrency limits the potential of governed actions, when faulting, to bring down the system.
When an execution would cause the number of actions executing concurrently through the policy to exceed maxParallelization, the action is not executed and a BulkheadRejectedException is thrown.
Builds a bulkhead isolation AsyncPolicy<T>, which limits the maximum concurrency of actions executed through the policy. Imposing a maximum concurrency limits the potential of governed actions, when faulting, to bring down the system.
When an execution would cause the number of actions executing concurrently through the policy to exceed maxParallelization, the action is not executed and a BulkheadRejectedException is thrown.
When an execution would cause the number of actions executing concurrently through the policy to exceed maxParallelization, the policy allows a further maxQueuingActions executions to queue, waiting for a concurrent execution slot. When an execution would cause the number of queuing actions to exceed maxQueuingActions, a BulkheadRejectedException is thrown.
When an execution would cause the number of actions executing concurrently through the policy to exceed maxParallelization, the policy allows a further maxQueuingActions executions to queue, waiting for a concurrent execution slot. When an execution would cause the number of queuing actions to exceed maxQueuingActions, a BulkheadRejectedException is thrown.
Builds a Policy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key specified by OperationKey. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key specified by OperationKey. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key specified by OperationKey. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key specified by OperationKey. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key specified by OperationKey. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key specified by OperationKey. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key specified by OperationKey. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds a Policy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key specified by OperationKey. If the cacheProvider provides a value, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key specified by OperationKey If the cacheProvider provides a value, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key. If the cacheProvider provides a value, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key. If the cacheProvider provides a value, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy that will function like a result cache for delegate executions returning a result.
Before executing a delegate returning a result, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key specified by OperationKey. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key specified by OperationKey. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key specified by OperationKey. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key specified by OperationKey. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key specified by OperationKey. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.
Builds an AsyncPolicy<T> that will function like a result cache for delegate executions returning a TResult.
Before executing a delegate, checks whether the cacheProvider holds a value for the cache key determined by applying the cacheKeyStrategy to the execution Context. If the cacheProvider provides a value from cache, returns that value and does not execute the governed delegate. If the cacheProvider does not provide a value, executes the governed delegate, stores the value with the cacheProvider, then returns the value.