Table of Contents

Class HealthCheckService<TApp>

Namespace
RDCore.SDK.Server.Services
Assembly
RDCore.SDK.dll
public sealed class HealthCheckService<TApp> : IHealthCheckService<TApp>, IDisposable where TApp : IRDCoreApp

Type Parameters

TApp
Inheritance
HealthCheckService<TApp>
Implements
Inherited Members

Constructors

HealthCheckService(ILogger<HealthCheckService<TApp>>, IServerStateProvider, IOptions<SdkServerOptions>)

public HealthCheckService(ILogger<HealthCheckService<TApp>> logger, IServerStateProvider serverState, IOptions<SdkServerOptions> options)

Parameters

logger ILogger<HealthCheckService<TApp>>
serverState IServerStateProvider
options IOptions<SdkServerOptions>

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Pause()

public void Pause()

Resume()

public void Resume()

Start(int, Action)

public void Start(int processId, Action onUnhealthyProcess)

Parameters

processId int
onUnhealthyProcess Action