public class ServerLoadData extends Object
Constructor and Description |
---|
ServerLoadData(float connectionLoad,
float subscriberLoad,
float loadPerConnection,
float loadPerSubscriber)
This constructor is to be used by internal JMX framework only.
|
Modifier and Type | Method and Description |
---|---|
float |
getConnectionLoad()
Returns the load on the server due to client to server connections.
|
float |
getLoadPerConnection()
Returns an estimate of how much load each new connection will add to this server.
|
float |
getLoadPerSubscriber()
Returns an estimate of the much load each new subscriber will add to this server.
|
float |
getSubscriberLoad()
Returns the load on the server due to subscription connections.
|
String |
toString()
String representation of ServerLoadData
|
@ConstructorProperties(value={"connectionLoad","subscriberLoad","loadPerConnection","loadPerSubscriber"}) public ServerLoadData(float connectionLoad, float subscriberLoad, float loadPerConnection, float loadPerSubscriber)
connectionLoad
- the load on the server due to client to server connectionssubscriberLoad
- the load on the server due to subscription connectionsloadPerConnection
- how much load each new connection will add to this serverloadPerSubscriber
- how much load each new subscription will add to this serverpublic float getConnectionLoad()
public float getSubscriberLoad()
public float getLoadPerConnection()
public float getLoadPerSubscriber()