Photon Server API Documentation v5.0RC1

Public Member Functions | List of all members
Photon.Common.LoadBalancer.Prediction.LoadStatsCollector Class Reference

Public Member Functions

 LoadStatsCollector (string applicationRootPath, string predictionConfig, float factor=1.0f)
 
 LoadStatsCollector (float factor=1.0f)
 
Dictionary< byte, int[]> GetPredictionData ()
 
bool SaveToFile (string dir, string fileName)
 
void SaveToFile ()
 
void UpdatePrediction (int reportedPeerCount, FeedbackLevel reportedFeedbackLevel, out Dictionary< byte, int[]> updatedLevels)
 
Dictionary< byte, int[]> GetControllersThresholds ()
 

Constructor & Destructor Documentation

◆ LoadStatsCollector() [1/2]

Photon.Common.LoadBalancer.Prediction.LoadStatsCollector.LoadStatsCollector ( string  applicationRootPath,
string  predictionConfig,
float  factor = 1.0f 
)
inline

◆ LoadStatsCollector() [2/2]

Photon.Common.LoadBalancer.Prediction.LoadStatsCollector.LoadStatsCollector ( float  factor = 1.0f)
inline

Member Function Documentation

◆ GetControllersThresholds()

Dictionary<byte, int[]> Photon.Common.LoadBalancer.Prediction.LoadStatsCollector.GetControllersThresholds ( )
inline

◆ GetPredictionData()

Dictionary<byte, int[]> Photon.Common.LoadBalancer.Prediction.LoadStatsCollector.GetPredictionData ( )
inline

◆ SaveToFile() [1/2]

void Photon.Common.LoadBalancer.Prediction.LoadStatsCollector.SaveToFile ( )
inline

◆ SaveToFile() [2/2]

bool Photon.Common.LoadBalancer.Prediction.LoadStatsCollector.SaveToFile ( string  dir,
string  fileName 
)
inline

◆ UpdatePrediction()

void Photon.Common.LoadBalancer.Prediction.LoadStatsCollector.UpdatePrediction ( int  reportedPeerCount,
FeedbackLevel  reportedFeedbackLevel,
out Dictionary< byte, int[]>  updatedLevels 
)
inline