Show / Hide Table of Contents

Class ConnectionPool

Inheritance
System.Object
ConnectionPool
Implements
IConnectionPool
IDisposable
ISingletonDependency
Namespace: Volo.Abp.RabbitMQ
Assembly: Volo.Abp.RabbitMQ.dll
Syntax
public class ConnectionPool : object, IConnectionPool, IDisposable, ISingletonDependency

Constructors

ConnectionPool(IOptions<AbpRabbitMqOptions>)

Declaration
public ConnectionPool(IOptions<AbpRabbitMqOptions> options)
Parameters
Type Name Description
IOptions<AbpRabbitMqOptions> options

Properties

Connections

Declaration
protected ConcurrentDictionary<string, IConnection> Connections { get; }
Property Value
Type Description
ConcurrentDictionary<System.String, IConnection>

Options

Declaration
protected AbpRabbitMqOptions Options { get; }
Property Value
Type Description
AbpRabbitMqOptions

Methods

Dispose()

Declaration
public void Dispose()

Get(String)

Declaration
public virtual IConnection Get(string connectionName = null)
Parameters
Type Name Description
System.String connectionName
Returns
Type Description
IConnection

Implements

IConnectionPool
IDisposable
ISingletonDependency

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft