src/Library/NetPro.StackExchange.Redis/StackExchange.Redis.Extensions.Core/Abstractions/IRedisCacheConnectionPoolManager.cs

(完整代码) 700B

using StackExchange.Redis.Extensions.Core.Models;
using System;

namespace StackExchange.Redis.Extensions.Core.Abstractions
{
    /// <summary>
    /// The service who handles the Redis connection pool.
    /// </summary>
    public interface IRedisCacheConnectionPoolManager : IDisposable
    {
        /// <summary>
        /// Get the Redis connection
        /// </summary>
        /// <returns>Returns an instance of<see cref="IConnectionMultiplexer"/>.</returns>
        IConnectionMultiplexer GetConnection();

        /// <summary>
        ///     Gets the information about the connection pool
        /// </summary>
        ConnectionPoolInformation GetConnectionInformations();
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。