Photon Server API Documentation
v5.0RC1
Public Member Functions | |
| object | CreateCounter (PerfCounterAttribute counterAttribute, PerfCounterCategoryAttribute categoryAttribute, string instanceName, bool touch) |
| Create counte instance by type and params. More... | |
| CounterCreationDataCollection | GetCounterCreationData (PerfCounterAttribute attribute) |
| Returns counter counter creation data based on PerfCounterAttribute More... | |
| object | CreateFakeCounter () |
| Create simple fake(null) counter that are not backed up by any real windows counters in case we don't have permissions or disabled real counters More... | |
| object Photon.SocketServer.Diagnostics.Counters.ICounterProvider.CreateCounter | ( | PerfCounterAttribute | counterAttribute, |
| PerfCounterCategoryAttribute | categoryAttribute, | ||
| string | instanceName, | ||
| bool | touch | ||
| ) |
Create counte instance by type and params.
| counterAttribute | |
| categoryAttribute | |
| instanceName | |
| touch | Probe created counter with PerformanceCounter.NextValue so counter instance will be created in netcore |
Implemented in Photon.SocketServer.Diagnostics.Counters.Wrappers.PerformanceCounterWrapper, Photon.SocketServer.Diagnostics.Counters.Wrappers.PerSecondCounterWrapper, and Photon.SocketServer.Diagnostics.Counters.Wrappers.AverageCounterWrapper.
| object Photon.SocketServer.Diagnostics.Counters.ICounterProvider.CreateFakeCounter | ( | ) |
Create simple fake(null) counter that are not backed up by any real windows counters in case we don't have permissions or disabled real counters
Implemented in Photon.SocketServer.Diagnostics.Counters.Wrappers.PerformanceCounterWrapper, Photon.SocketServer.Diagnostics.Counters.Wrappers.PerSecondCounterWrapper, and Photon.SocketServer.Diagnostics.Counters.Wrappers.AverageCounterWrapper.
| CounterCreationDataCollection Photon.SocketServer.Diagnostics.Counters.ICounterProvider.GetCounterCreationData | ( | PerfCounterAttribute | attribute | ) |
Returns counter counter creation data based on PerfCounterAttribute
| attribute |
Implemented in Photon.SocketServer.Diagnostics.Counters.Wrappers.PerformanceCounterWrapper, Photon.SocketServer.Diagnostics.Counters.Wrappers.PerSecondCounterWrapper, and Photon.SocketServer.Diagnostics.Counters.Wrappers.AverageCounterWrapper.