Photon Server API Documentation v5.0RC1

Public Member Functions | Properties | List of all members
Photon.SocketServer.Diagnostics.ExtPerfCounterAttribute Class Reference
Inheritance diagram for Photon.SocketServer.Diagnostics.ExtPerfCounterAttribute:
Photon.SocketServer.Diagnostics.Counters.PerfCounterAttribute

Public Member Functions

 ExtPerfCounterAttribute (string name, PerformanceCounterType type, PerformanceCounterType secondaryCounterType, string description="")
 
- Public Member Functions inherited from Photon.SocketServer.Diagnostics.Counters.PerfCounterAttribute
 PerfCounterAttribute (string name, PerformanceCounterType type, string description="", string categoryName=null)
 Initializes a new instance of the PerfCounterAttribute class. More...
 
 PerfCounterAttribute (string name, PerformanceCounterType type, PerformanceCounterInstanceLifetime counterLifetime, string description="", string categoryName=null)
 Initializes a new instance of the PerfCounterAttribute class. More...
 

Properties

PerformanceCounterType SecondaryCounterType [get]
 
- Properties inherited from Photon.SocketServer.Diagnostics.Counters.PerfCounterAttribute
string Name [get]
 Name of counter More...
 
string Description [get]
 Counter description More...
 
PerformanceCounterType Type [get]
 Type of system performance counter More...
 
string CategoryName [get, set]
 To which part counter applies: CounterCategory.Connection or CounterCategory.Server More...
 
PerformanceCounterInstanceLifetime? CounterLifetime [get]
 Counter instance lifetime. Takes precedence over PerfCounterCategoryAttribute.CategoryInstanceLifetime if specified. More...
 

Constructor & Destructor Documentation

◆ ExtPerfCounterAttribute()

Photon.SocketServer.Diagnostics.ExtPerfCounterAttribute.ExtPerfCounterAttribute ( string  name,
PerformanceCounterType  type,
PerformanceCounterType  secondaryCounterType,
string  description = "" 
)
inline

Property Documentation

◆ SecondaryCounterType

PerformanceCounterType Photon.SocketServer.Diagnostics.ExtPerfCounterAttribute.SecondaryCounterType
get