Photon Server API Documentation v5.0RC1

Public Member Functions | Properties | Events | List of all members
Photon.Common.LoadBalancer.LoadShedding.WorkloadController Class Reference

Public Member Functions

 WorkloadController (ApplicationBase application, string instanceName, int updateIntervalInMs, string serverId, string workLoadConfigFile)
 
void Start ()
 Starts the workload controller with a specified update interval in milliseconds. More...
 
void Stop ()
 

Properties

FeedbackLevel FeedbackLevel [get]
 
ServerState ServerState [get, set]
 
bool IsInitialized [get]
 

Events

EventHandler FeedbacklevelChanged
 

Constructor & Destructor Documentation

◆ WorkloadController()

Photon.Common.LoadBalancer.LoadShedding.WorkloadController.WorkloadController ( ApplicationBase  application,
string  instanceName,
int  updateIntervalInMs,
string  serverId,
string  workLoadConfigFile 
)
inline

Member Function Documentation

◆ Start()

void Photon.Common.LoadBalancer.LoadShedding.WorkloadController.Start ( )
inline

Starts the workload controller with a specified update interval in milliseconds.

◆ Stop()

void Photon.Common.LoadBalancer.LoadShedding.WorkloadController.Stop ( )
inline

Property Documentation

◆ FeedbackLevel

FeedbackLevel Photon.Common.LoadBalancer.LoadShedding.WorkloadController.FeedbackLevel
get

◆ IsInitialized

bool Photon.Common.LoadBalancer.LoadShedding.WorkloadController.IsInitialized
get

◆ ServerState

ServerState Photon.Common.LoadBalancer.LoadShedding.WorkloadController.ServerState
getset

Event Documentation

◆ FeedbacklevelChanged

EventHandler Photon.Common.LoadBalancer.LoadShedding.WorkloadController.FeedbacklevelChanged