PhoneSystemCreateStatistics(String, String) Method

Creates realtime statistic storage in specified table of statistics. or returns existing one.
Custom statistics table MUST be defined in configuration manager.
table MUST be defined as:
[RTTABLES]
s_xxxxxxx=ID

and object name MUST be defined as:
[CLASSES] S_XXXXXXX=s_xxxxxxx

where xxxxxxx is lowercase string and XXXXXXX is uppercase version of the xxxxxxx

Definition

Namespace: TCX.Configuration
Assembly: 3cxpscomcpp2 (in 3cxpscomcpp2.dll) Version: 20.0.1
C#
public Statistics CreateStatistics(
	string statClassName,
	string name
)

Parameters

statClassName  String
 
name  String
 

Return Value

Statistics

Implements

IPhoneSystemCreateStatistics(String, String)

Remarks

User should define name of statistic and take care about its lifetime. Configuration server will hold this statistics until it will be restarted. It is not prohibited to update the same statistic from many processes, but it not recommended. Statistics object is not thread safe and has mutable implementation. User should manage access to this object if it is necessary to update the same object from many threads.

See Also