CMSPerformanceCounter Class |
Namespace: CMS.HealthMonitoring
public class CMSPerformanceCounter : IPerformanceCounter
The CMSPerformanceCounter type exposes the following members.
Name | Description | |
---|---|---|
CMSPerformanceCounter |
Name | Description | |
---|---|---|
Clear |
Clears global and sites counters.
| |
ClearLastLog |
Clears last log date time.
| |
Decrement |
Decrements global and site counter. If the parameter siteName is null, decrements only global counter.
| |
GetLastLog |
Gets time of last log.
| |
GetValue |
Gets value of global or site counter. If the parameter siteName is null, get global counter value.
| |
Increment |
Increments global and site counter. If the parameter siteName is null, increments only global counter.
| |
Reset |
Resets global and sites values.
| |
SetValue |
Sets raw value of global or site counter. If the parameter siteName is null, sets global counter.
|
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
LastLogs |
Time of last log.
| |
Sites |
Gets collection of sites name.
| |
SitesCounters |
Gets sites counters (key - site name).
|