Photon Server API Documentation v5.0RC1

Static Public Member Functions | Static Protected Member Functions | List of all members
Photon.SocketServer.Diagnostics.PerfCounterManagerBase Class Reference

This counter manager is obsolete and will be removed. Use attribute based Counters.PerfCounterManagerBase<T> instead. More...

Static Public Member Functions

static bool IsUserAdmin ()
 

Static Protected Member Functions

static bool ValidateCategory (PerformanceCounterCategory category, CounterCreationDataCollection counterCreationData)
 
static PerformanceCounterCategory GetOrCreateCategory (string categoryName, CounterCreationDataCollection counterCreationData)
 

Detailed Description

This counter manager is obsolete and will be removed. Use attribute based Counters.PerfCounterManagerBase<T> instead.

Member Function Documentation

◆ GetOrCreateCategory()

static PerformanceCounterCategory Photon.SocketServer.Diagnostics.PerfCounterManagerBase.GetOrCreateCategory ( string  categoryName,
CounterCreationDataCollection  counterCreationData 
)
inlinestaticprotected

◆ IsUserAdmin()

static bool Photon.SocketServer.Diagnostics.PerfCounterManagerBase.IsUserAdmin ( )
inlinestatic

◆ ValidateCategory()

static bool Photon.SocketServer.Diagnostics.PerfCounterManagerBase.ValidateCategory ( PerformanceCounterCategory  category,
CounterCreationDataCollection  counterCreationData 
)
inlinestaticprotected