PerformanceMonitorBase Class

Represents a base class for performance monitors, e.g., the process level PerformanceMonitor and the system level SystemPerformanceMonitor.

Definition

Namespace: Gemstone.Diagnostics
Assembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.128 -- Release Build+d9d157c80da59365061f9bf4a5d1ecd0f0496e1b
public abstract class PerformanceMonitorBase : IDisposable, 
	IProvideStatus
Inheritance
Object    PerformanceMonitorBase
Derived
Implements
IProvideStatus, IDisposable

Constructors

PerformanceMonitorBase Initializes a new instance of the PerformanceMonitorBase class.

Properties

Counters Gets a read-only list of the PerformanceCounter objects monitored by the PerformanceMonitor object.
LifetimeStatus Gets the lifetime status statistics of the PerformanceMonitor object.
Name Gets the friendly name of the PerformanceMonitorBase object.
SamplingInterval Gets or sets the interval, in milliseconds, at which the Counters are to be sampled.
Status Gets the current status of the PerformanceMonitorBase object.

Methods

AddCounter(PerformanceCounter) Adds a PerformanceCounter to be monitored.
AddCounter(String, String, String) Adds a PerformanceCounter to be monitored.
AddCounter(String, String, String, String) Adds a PerformanceCounter to be monitored.
AddCounter(String, String, String, String, String) Adds a PerformanceCounter to be monitored.
AddCounter(String, String, String, String, String, Single, Boolean, FuncSingle, Single, FuncSingle, Boolean) Adds a PerformanceCounter to be monitored.
Dispose Releases all the resources used by the PerformanceMonitorBase object.
Dispose(Boolean) Releases the unmanaged resources used by the PerformanceMonitorBase object and optionally releases the managed resources.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Releases the unmanaged resources before the PerformanceMonitor object is reclaimed by GC.
(Overrides ObjectFinalize)
FindCounter(String) Returns a PerformanceCounter object matching the specified counter name.
FindCounter(String, String) Returns a PerformanceCounter object matching the specified counter name.
FindCounters(String) Returns PerformanceCounter array matching the specified counter name.
FindCounters(String, String) Returns PerformanceCounter array matching the specified counter name.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
RemoveCounter Removes a PerformanceCounter being monitored.
SampleCounters Sample all defined counters.
SampleCustomCounters Derived class should override this method to sample any custom counters.
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

DefaultSamplingInterval Default interval for sampling the Counters.

See Also