/*
 * 作者:吴隆健
 * 日期: 2019-04-23
 * 时间: 13:17
 * 
 */

using System;
using System.Collections.Concurrent;
using MrWu.Model;

namespace MrWu.DB {
    /// <summary>
    /// 连接池 T是链接类型
    /// </summary>
    public interface IConnectionPool<T> : IPool<T>{
        /// <summary>
        /// 链接字符串
        /// </summary>
        string connecStr { 
            get;
        }

        /// <summary>
        /// 链接池
        /// </summary>
        ConcurrentQueue<T> conns {
            get;
        }
    }
}
