Class ChannelPool.ChannelPoolItem
Inheritance
ChannelPool.ChannelPoolItem
Assembly: Volo.Abp.RabbitMQ.dll
Syntax
protected class ChannelPool.ChannelPoolItem : IAsyncDisposable
Constructors
ChannelPoolItem(IChannel)
Declaration
public ChannelPoolItem(IChannel channel)
Parameters
| Type |
Name |
Description |
| IChannel |
channel |
|
Properties
Channel
Declaration
public IChannel Channel { get; }
Property Value
| Type |
Description |
| IChannel |
|
IsInUse
Declaration
public bool IsInUse { get; }
Property Value
Methods
Acquire()
Declaration
DisposeAsync()
Declaration
public ValueTask DisposeAsync()
Returns
Release()
Declaration
WaitIfInUse(TimeSpan)
Declaration
public void WaitIfInUse(TimeSpan timeout)
Parameters
Implements
Extension Methods