Class ChannelPool.ChannelPoolItem
Inheritance
object
ChannelPool.ChannelPoolItem
Implements
System.IDisposable
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.RabbitMQ
Assembly: Volo.Abp.RabbitMQ.dll
Syntax
protected class ChannelPool.ChannelPoolItem : IDisposable
Constructors
ChannelPoolItem(IModel)
Declaration
public ChannelPoolItem(IModel channel)
Parameters
| Type | Name | Description |
|---|---|---|
| RabbitMQ.Client.IModel | channel |
Properties
Channel
Declaration
public IModel Channel { get; }
Property Value
| Type | Description |
|---|---|
| RabbitMQ.Client.IModel |
IsInUse
Declaration
public bool IsInUse { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
Acquire()
Declaration
public void Acquire()
Dispose()
Declaration
public void Dispose()
Release()
Declaration
public void Release()
WaitIfInUse(TimeSpan)
Declaration
public void WaitIfInUse(TimeSpan timeout)
Parameters
| Type | Name | Description |
|---|---|---|
| System.TimeSpan | timeout |
Implements
System.IDisposable