Photon Server API Documentation v5.0RC1

Public Member Functions | Public Attributes | List of all members
Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxBytesOutCounterReader Class Reference
Inheritance diagram for Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxBytesOutCounterReader:
ExitGames.Diagnostics.Counter.ICounter

Public Member Functions

 LinuxBytesOutCounterReader ()
 
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...
 

Public Attributes

CounterType CounterType => CounterType.Numeric
 
string Name => "BytesOut"
 
bool IsValid => true
 

Additional Inherited Members

- Properties inherited from ExitGames.Diagnostics.Counter.ICounter
CounterType CounterType [get]
 Gets the type of the counter. More...
 
string Name [get]
 Gets the name of the counter. More...
 
bool IsValid [get]
 Returns whether counter is valid or not For WindowsPerfCounters this method may return value whether counter exists or not More...
 

Constructor & Destructor Documentation

◆ LinuxBytesOutCounterReader()

Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxBytesOutCounterReader.LinuxBytesOutCounterReader ( )
inline

Member Function Documentation

◆ Decrement()

long Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxBytesOutCounterReader.Decrement ( )
inline

Decrements the counter by one.

Returns
The decremented value.

Implements ExitGames.Diagnostics.Counter.ICounter.

◆ GetNextValue()

float Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxBytesOutCounterReader.GetNextValue ( )
inline

Gets the next value.

Returns
The get next value.

Implements ExitGames.Diagnostics.Counter.ICounter.

◆ Increment()

long Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxBytesOutCounterReader.Increment ( )
inline

Increments the counter by one and returns the new value.

Returns
The incremented value.

Implements ExitGames.Diagnostics.Counter.ICounter.

◆ IncrementBy()

long Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxBytesOutCounterReader.IncrementBy ( long  value)
inline

Increments the counter by a given value.

Parameters
valueThe value to be added to the counter.
Returns
The incremented value.

Implements ExitGames.Diagnostics.Counter.ICounter.

Member Data Documentation

◆ CounterType

CounterType Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxBytesOutCounterReader.CounterType => CounterType.Numeric

◆ IsValid

bool Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxBytesOutCounterReader.IsValid => true

◆ Name

string Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxBytesOutCounterReader.Name => "BytesOut"