Photon Server API Documentation v5.0RC1

List of all members
Photon.SocketServer.Diagnostics.ManagedCorePerformanceCounters Class Reference
Inheritance diagram for Photon.SocketServer.Diagnostics.ManagedCorePerformanceCounters:
Photon.SocketServer.Diagnostics.Counters.PerfCounterManagerBase< ManagedCorePerformanceCounters >

Additional Inherited Members

- Public Member Functions inherited from Photon.SocketServer.Diagnostics.Counters.PerfCounterManagerBase< ManagedCorePerformanceCounters >
 PerfCounterManagerBase ()
 No direct calls to ctor from non-inherited classes. Use GlobalInstance or GetInstance(string). we can't use private ctor More...
 
- Static Public Member Functions inherited from Photon.SocketServer.Diagnostics.Counters.PerfCounterManagerBase< ManagedCorePerformanceCounters >
static T GetInstance (string instanceName)
 Get and create (if not exist) counters for instance More...
 
static void Initialize (object state=null)
 Initialize counters synchronously More...
 
static void InitializeAsync (string instanceName=null)
 Initialize counters asynchronously. To wait for init complete call WaitForInitializationComplete(int) More...
 
static bool WaitForInitializationComplete (int timeout)
 
- Protected Member Functions inherited from Photon.SocketServer.Diagnostics.Counters.PerfCounterManagerBase< ManagedCorePerformanceCounters >
void InitializeGlobal (object state)
 Initialize global instance More...
 
void InitializeInstance (string instanceName)
 Initialize specific instance More...
 
virtual IList< ICounterProviderGetCustomCounterProviders ()
 Return list of instances of classes that provides ICounterProvider implementations More...
 
PerformanceCounterCategory GetOrCreateCategory (string categoryName, CounterCreationDataCollection counterCreationData, CountersPermissionLevels permissionLevel)
 Get or create windows performance counter category. More...
 
- Static Protected Member Functions inherited from Photon.SocketServer.Diagnostics.Counters.PerfCounterManagerBase< ManagedCorePerformanceCounters >
static void InitializeWithDefaults ()
 Dummy method to initiate static ctor More...
 
static bool ValidateCategory (PerformanceCounterCategory category, CounterCreationDataCollection counterCreationData)
 Detects if existing category contains all required counters More...
 
- Static Protected Attributes inherited from Photon.SocketServer.Diagnostics.Counters.PerfCounterManagerBase< ManagedCorePerformanceCounters >
static readonly ILogger Log
 
static readonly Dictionary< string, T > Instances
 
static readonly Dictionary< Type, ICounterProviderCounterProviders
 
- Properties inherited from Photon.SocketServer.Diagnostics.Counters.PerfCounterManagerBase< ManagedCorePerformanceCounters >
static bool isInitialized [get]
 
static T GlobalInstance [get]
 Global instance. Must be initialized before first call More...