Class HealthChecks

Namespace: ArmoniK.Api.Mock.Services
Assembly: ArmoniK.Api.Mock.dll

public class HealthChecks : HealthChecksService.HealthChecksServiceBase

Inheritance

object ← HealthChecksService.HealthChecksServiceBase ← HealthChecks

Inherited Members

HealthChecksService.HealthChecksServiceBase.CheckHealth(CheckHealthRequest, ServerCallContext), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Methods

CheckHealth(CheckHealthRequest, ServerCallContext)

Checks the health of the cluster. This can be used to verify that the cluster is up and running.

public override Task<CheckHealthResponse> CheckHealth(CheckHealthRequest request, ServerCallContext context)

Parameters

request CheckHealthRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns

Task<CheckHealthResponse>

The response to send back to the client (wrapped by a task).