Class PluginTickTimerBase
Base class for all PluginTickTimer implementations.
Namespace: Eco.Core.Plugins
Assembly: Eco.Core.dll
Syntax
public class PluginTickTimerBase : Object
Constructors
PluginTickTimerBase(String)
Declaration
public PluginTickTimerBase(string pluginName)
Parameters
Type | Name | Description |
---|---|---|
System.String | pluginName |
Properties
PluginName
The name of the plugin we are currently monitoring.
Declaration
public string PluginName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
StoreTickMetric(Double, Double)
Posts our metrics to ElasticSearch under our configured plugin name.
Declaration
protected void StoreTickMetric(double averageTime, double totalTime)
Parameters
Type | Name | Description |
---|---|---|
System.Double | averageTime | The total average time of the tick. |
System.Double | totalTime | The total tick time. |