OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Protected Member Functions | List of all members
OpenSim.Framework.MetricsCollectorLong Class Reference

A MetricsCollector for 'long' values. More...

Inheritance diagram for OpenSim.Framework.MetricsCollectorLong:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Framework.MetricsCollectorLong:
Collaboration graph
[legend]

Public Member Functions

 MetricsCollectorLong (int windowSize, int numBuckets)
 
- Public Member Functions inherited from OpenSim.Framework.MetricsCollector< T >
 MetricsCollector (int windowSize, int numBuckets)
 Creates a MetricsCollector. More...
 
void Reset ()
 
void AddSample (T sample)
 
GetSum ()
 Returns the total values in the collection window. More...
 

Protected Member Functions

override long GetZero ()
 Returns the default (zero) value. More...
 
override long Add (long a, long b)
 
- Protected Member Functions inherited from OpenSim.Framework.MetricsCollector< T >
abstract T Add (T a, T b)
 Adds two values. More...
 

Detailed Description

A MetricsCollector for 'long' values.

Definition at line 9 of file MetricsCollector.cs.

Constructor & Destructor Documentation

OpenSim.Framework.MetricsCollectorLong.MetricsCollectorLong ( int  windowSize,
int  numBuckets 
)
inline

Definition at line 11 of file MetricsCollector.cs.

Member Function Documentation

override long OpenSim.Framework.MetricsCollectorLong.Add ( long  a,
long  b 
)
inlineprotected

Definition at line 18 of file MetricsCollector.cs.

override long OpenSim.Framework.MetricsCollectorLong.GetZero ( )
inlineprotectedvirtual

Returns the default (zero) value.

Returns

Implements OpenSim.Framework.MetricsCollector< T >.

Definition at line 16 of file MetricsCollector.cs.


The documentation for this class was generated from the following file: