C# Class HealthMonitoring.Persistence.EndpointStatsRepository

Inheritance: IEndpointStatsRepository
Mostra file Open project: wongatech/HealthMonitoring

Public Methods

Method 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 method

public DeleteStatisticsOlderThan ( System.DateTime date, int maxBatchSize ) : int
date System.DateTime
maxBatchSize int
return int

EndpointStatsRepository() public method

public EndpointStatsRepository ( MySqlDatabase db ) : System
db MySqlDatabase
return System

GetStatistics() public method

public GetStatistics ( System.Guid id, int limitDays ) : IEnumerable
id System.Guid
limitDays int
return IEnumerable

InsertEndpointStatistics() public method

public InsertEndpointStatistics ( System.Guid endpointId, HealthMonitoring.Model.EndpointHealth stats ) : void
endpointId System.Guid
stats HealthMonitoring.Model.EndpointHealth
return void