Interface ConnectionHealthPolicy

interface ConnectionHealthPolicy {
    name?: string;
    health(): number;
    healthIfChanged(): number;
    healthy(): boolean;
    maximumHealth(): number;
    minimumHealth(): number;
    update(connectionHealthData: ConnectionHealthData): void;
}

Implemented by

Properties

name?: string

A unique readable name for the purpose of logging

Methods