Class BulkheadPolicy<TResult>
A bulkhead-isolation policy which can be applied to delegates returning a value of type TResult
.
public class BulkheadPolicy<TResult> : Policy<TResult>, IAsyncPolicy<TResult>, ISyncPolicy<TResult>, IBulkheadPolicy<TResult>, IBulkheadPolicy, IsPolicy, IDisposable
Type Parameters
TResult
- Inheritance
-
Policy<TResult>BulkheadPolicy<TResult>
- Implements
-
IAsyncPolicy<TResult>ISyncPolicy<TResult>IBulkheadPolicy<TResult>
- Inherited Members
Properties
BulkheadAvailableCount
Gets the number of slots currently available for executing actions through the bulkhead.
public int BulkheadAvailableCount { get; }
Property Value
QueueAvailableCount
Gets the number of slots currently available for queuing actions for execution through the bulkhead.
public int QueueAvailableCount { get; }
Property Value
Methods
Dispose()
Disposes of the BulkheadPolicy, allowing it to dispose its internal resources.
public void Dispose()