public class SystemWorkload extends XMLRequest implements java.lang.Iterable<WorkloadItem>
Constructor and Description |
---|
SystemWorkload()
Returns the data which is shown in the system overview as "Usage".
|
SystemWorkload(ServerListItem server)
Returns the usage for the specified server.
|
Modifier and Type | Method and Description |
---|---|
WorkloadItem |
getTotalWorkload()
Returns a
WorkloadItem which represents the total system workload. |
java.util.Iterator<WorkloadItem> |
iterator()
Returns an Iterator which can be used to step through the
WorkloadItem . |
int |
size()
Returns the total number of clients in the workload list.
|
getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, send
public SystemWorkload()
public SystemWorkload(ServerListItem server)
server
- ServerListItem which was returned in the ServerList request.public java.util.Iterator<WorkloadItem> iterator()
WorkloadItem
.
If this class does not contain a workload list this method returns null
iterator
in interface java.lang.Iterable<WorkloadItem>
WorkloadItem
or null
in case of an errorpublic WorkloadItem getTotalWorkload()
WorkloadItem
which represents the total system workload.WorkloadItem
of all clientspublic int size()
WorkloadItem