C# Class HealthMonitoring.Persistence.EndpointStatsRepository

Inheritance: IEndpointStatsRepository
Afficher le fichier Open project: wongatech/HealthMonitoring

Méthodes publiques

Méthode Description
DeleteStatisticsOlderThan ( System.DateTime date, int maxBatchSize ) : int
EndpointStatsRepository ( MySqlDatabase db ) : System
GetStatistics ( System.Guid id, int limitDays ) : IEnumerable
InsertEndpointStatistics ( System.Guid endpointId, HealthMonitoring.Model.EndpointHealth stats ) : void

Method Details

DeleteStatisticsOlderThan() public méthode

public DeleteStatisticsOlderThan ( System.DateTime date, int maxBatchSize ) : int
date System.DateTime
maxBatchSize int
Résultat int

EndpointStatsRepository() public méthode

public EndpointStatsRepository ( MySqlDatabase db ) : System
db MySqlDatabase
Résultat System

GetStatistics() public méthode

public GetStatistics ( System.Guid id, int limitDays ) : IEnumerable
id System.Guid
limitDays int
Résultat IEnumerable

InsertEndpointStatistics() public méthode

public InsertEndpointStatistics ( System.Guid endpointId, HealthMonitoring.Model.EndpointHealth stats ) : void
endpointId System.Guid
stats HealthMonitoring.Model.EndpointHealth
Résultat void