Table of Contents

Class BulkheadPolicy

Namespace
Polly.Bulkhead
Assembly
Polly.dll

A bulkhead-isolation policy which can be applied to delegates.

public class BulkheadPolicy : Policy, ISyncPolicy, IAsyncPolicy, IBulkheadPolicy, IsPolicy, IDisposable
Inheritance
BulkheadPolicy
Implements
Inherited Members

Properties

BulkheadAvailableCount

Gets the number of slots currently available for executing actions through the bulkhead.

public int BulkheadAvailableCount { get; }

Property Value

int

QueueAvailableCount

Gets the number of slots currently available for queuing actions for execution through the bulkhead.

public int QueueAvailableCount { get; }

Property Value

int

Methods

Dispose()

Disposes of the BulkheadPolicy, allowing it to dispose its internal resources.
Only call Dispose() on a BulkheadPolicy after all actions executed through the policy have completed. If actions are still executing through the policy when Dispose() is called, an ObjectDisposedException may be thrown on the actions' threads when those actions complete.

public void Dispose()