C# Class ZocMonLib.RecordReduce

Inheritance: IRecordReduce
ファイルを表示 Open project: Zocdoc/ZocMon Class Usage Examples

Public Methods

Method Description
RecordReduce ( IRecordReduceStatus reduceStatus, IRecordReduceAggregate reduceAggregater, IDataCache cache, IRecordCompare recordCompare, IStorageCommands storageCommands, IStorageFactory dbFactory, ISettings settings ) : System
Reduce ( string configName, bool deleteReducedData = false, IDbConnection conn = null, bool isInner = false ) : string

Calculate and store all reductions for the given configuration.

ReduceAll ( bool deleteReducedData = false ) : string

Reduce all known data.

Private Methods

Method Description
CalculateReductions ( IDictionary aggregatedList, ReduceLevel reduceLevel ) : IList>
DeleteData ( bool deleteReducedData, IEnumerable deleteInfo, IDbConnection conn ) : void
OtherCalculations ( string configName, MonitorInfo monitorInfo, IDbConnection conn ) : void
ProcessConfig ( string configName, MonitorInfo monitorInfo, bool deleteReducedData, IDbConnection conn ) : IEnumerable

Method Details

RecordReduce() public method

public RecordReduce ( IRecordReduceStatus reduceStatus, IRecordReduceAggregate reduceAggregater, IDataCache cache, IRecordCompare recordCompare, IStorageCommands storageCommands, IStorageFactory dbFactory, ISettings settings ) : System
reduceStatus IRecordReduceStatus
reduceAggregater IRecordReduceAggregate
cache IDataCache
recordCompare IRecordCompare
storageCommands IStorageCommands
dbFactory IStorageFactory
settings ISettings
return System

Reduce() public method

Calculate and store all reductions for the given configuration.
public Reduce ( string configName, bool deleteReducedData = false, IDbConnection conn = null, bool isInner = false ) : string
configName string
deleteReducedData bool If true, will actually delete the reduced data
conn IDbConnection
isInner bool
return string

ReduceAll() public method

Reduce all known data.
public ReduceAll ( bool deleteReducedData = false ) : string
deleteReducedData bool
return string