Photon Server API
Public Member Functions | Properties | List of all members
ExitGames.Diagnostics.Counter.ICounter Interface Reference

Represents a counter instance. More...

Inheritance diagram for ExitGames.Diagnostics.Counter.ICounter:
ExitGames.Concurrency.Fibers.EmptyCounter ExitGames.Diagnostics.Counter.CounterBase ExitGames.Diagnostics.Counter.PerformanceCounterReader ExitGames.Diagnostics.Counter.WindowsPerformanceCounter Photon.CounterPublisher.SystemCounter.NetworkInterfaceCounter Photon.SocketServer.Diagnostics.CpuUsageCounterReader ExitGames.Diagnostics.Counter.AverageCounter ExitGames.Diagnostics.Counter.CountsPerSecondCounter ExitGames.Diagnostics.Counter.DummyCounter ExitGames.Diagnostics.Counter.NumericCounter Photon.Common.LoadBalancer.LoadShedding.AverageCounterReader

Public Member Functions

long Decrement ()
 Decrements the counter by one. More...
 
float GetNextValue ()
 Gets the next value. More...
 
long Increment ()
 Increments the counter by one and returns the new value. More...
 
long IncrementBy (long value)
 Increments the counter by a given value. More...
 

Properties

CounterType CounterType [get]
 Gets the type of the counter. More...
 
string Name [get]
 Gets the name of the counter. More...
 

Detailed Description

Represents a counter instance.

Member Function Documentation

long ExitGames.Diagnostics.Counter.ICounter.Decrement ( )
float ExitGames.Diagnostics.Counter.ICounter.GetNextValue ( )
long ExitGames.Diagnostics.Counter.ICounter.Increment ( )
long ExitGames.Diagnostics.Counter.ICounter.IncrementBy ( long  value)

Property Documentation

CounterType ExitGames.Diagnostics.Counter.ICounter.CounterType
get

Gets the type of the counter.

The type of the counter.

string ExitGames.Diagnostics.Counter.ICounter.Name
get

Gets the name of the counter.