Table of Contents

Class RedisHealthContributor

Namespace
Steeltoe.Connector.Redis
Assembly
Steeltoe.Connector.ConnectorBase.dll
public class RedisHealthContributor : IHealthContributor
Inheritance
RedisHealthContributor
Implements
Inherited Members

Constructors

RedisHealthContributor(RedisServiceConnectorFactory, Type, ILogger<RedisHealthContributor>)

public RedisHealthContributor(RedisServiceConnectorFactory factory, Type implType, ILogger<RedisHealthContributor> logger = null)

Parameters

factory RedisServiceConnectorFactory
implType Type
logger ILogger<RedisHealthContributor>

Properties

Id

Gets an identifier for the type of check being performed

public string Id { get; }

Property Value

string

Methods

GetRedisContributor(IConfiguration, ILogger<RedisHealthContributor>)

public static IHealthContributor GetRedisContributor(IConfiguration configuration, ILogger<RedisHealthContributor> logger = null)

Parameters

configuration IConfiguration
logger ILogger<RedisHealthContributor>

Returns

IHealthContributor

Health()

Check the health of a resource

public HealthCheckResult Health()

Returns

HealthCheckResult

The result of checking the health of a resource