Constructor Event
Event(string, float, float, EventCollectionDelegate)
Constucts an Event that collects a metric each interval and aggregates over a period.
Declaration
public Event(string name, float interval, float period, ContinuousEvents.EventCollectionDelegate collector)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the event. |
float | interval | The interval in which to collect the metric, in seconds. |
float | period | The aggregation period in seconds. |
ContinuousEvents.EventCollectionDelegate | collector | A delegate to collect the metric. |