public class WorkloadItem extends Object
Constructor and Description |
---|
WorkloadItem(Element row)
Constructs a
WorkloadItem unsing the specified Element . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
float |
getAverageLoad()
Returns the average load of this client in percent.
|
int |
getClient()
Returns the number of the client or -1 if this
WorkloadItem
represents the workload of all clients. |
float |
getLoadAt(int hour)
Returns the workload of this client in percent at the specified time.
|
int |
hashCode() |
String |
toString() |
public WorkloadItem(Element row)
WorkloadItem
unsing the specified Element
.row
- Elementpublic float getAverageLoad()
public int getClient()
WorkloadItem
represents the workload of all clients.public float getLoadAt(int hour)
hour
- valid: 1 - 24Copyright © 2021. All rights reserved.