C# 클래스 CogMon.Services.EventStats.SimpleEventAggregator

EventAggregator This class manages MongoDB event aggregation using map-reduce.
상속: IEventAggregator
파일 보기 프로젝트 열기: lafar6502/cogmon

공개 메소드들

메소드 설명
AddEvent ( Lib dr ) : void
AddEvent ( MEvent mev, string collection ) : void
AddEvent ( string id, System.DateTime ts, double>.Dictionary values ) : void
AddEvent ( string seriesId, System.DateTime tstamp, IEnumerable values ) : void
GetDataSeries ( string seriesId, System.DateTime start, System.DateTime end, string step ) : object
GetDataSeriesInfo ( string seriesId ) : DataSeries
GetTimeSeries ( string seriesId, System.DateTime start, System.DateTime end, string step ) : TimeSeriesData
RunAggregation ( string id ) : void

비공개 메소드들

메소드 설명
CalcDefaultStep ( System.TimeSpan ts, DataSeries ds ) : char

M - month D - day H - hour A - 5-minutes

FormatDatePartForStep ( System.DateTime dt, char step ) : string
FormatLabelForTimestamp ( System.DateTime dt, char step ) : string
GetKey ( string seriesId, char step, System.DateTime dt ) : string
Increment ( System.DateTime dt, char step, int steps ) : System.DateTime
ParseDateTimeFromAggId ( string id ) : System.DateTime
RoundToStepBoundary ( System.DateTime dt, char step, bool upper ) : System.DateTime

메소드 상세

AddEvent() 공개 메소드

public AddEvent ( Lib dr ) : void
dr Lib
리턴 void

AddEvent() 공개 메소드

public AddEvent ( MEvent mev, string collection ) : void
mev CogMon.Lib.DataSeries.MEvent
collection string
리턴 void

AddEvent() 공개 메소드

public AddEvent ( string id, System.DateTime ts, double>.Dictionary values ) : void
id string
ts System.DateTime
values double>.Dictionary
리턴 void

AddEvent() 공개 메소드

public AddEvent ( string seriesId, System.DateTime tstamp, IEnumerable values ) : void
seriesId string
tstamp System.DateTime
values IEnumerable
리턴 void

GetDataSeries() 공개 메소드

public GetDataSeries ( string seriesId, System.DateTime start, System.DateTime end, string step ) : object
seriesId string
start System.DateTime
end System.DateTime
step string
리턴 object

GetDataSeriesInfo() 공개 메소드

public GetDataSeriesInfo ( string seriesId ) : DataSeries
seriesId string
리턴 DataSeries

GetTimeSeries() 공개 메소드

public GetTimeSeries ( string seriesId, System.DateTime start, System.DateTime end, string step ) : TimeSeriesData
seriesId string
start System.DateTime
end System.DateTime
step string
리턴 CogMon.Lib.DataSeries.TimeSeriesData

RunAggregation() 공개 메소드

public RunAggregation ( string id ) : void
id string
리턴 void