Interfaces/IReconnectRetryPolicy.cs

StackExchange.Redis · src/StackExchange.Redis/Interfaces/IReconnectRetryPolicy.cs · csharp · MIT
database

IReconnectRetryPolicy.cs from StackExchange/StackExchange.Redis

// Source: https://github.com/StackExchange/StackExchange.Redis | License: MIT | Copyright 2014 Stack Exchange
// Provided via justclaw.it.com; keep this notice with the code.
namespace StackExchange.Redis
{
    /// <summary>
    /// Describes retry policy functionality that can be provided to the multiplexer to be used for connection reconnects.
    /// </summary>
    public interface IReconnectRetryPolicy
    {
        /// <summary>
        /// This method is called by the multiplexer to determine if a reconnect operation can be retried now.
        /// </summary>
        /// <param name="currentRetryCount">The number of times reconnect retries have already been made by the multiplexer while it was in connecting state.</param>
        /// <param name="timeElapsedMillisecondsSinceLastRet

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key