public class SystemWorkload extends XMLRequest implements 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. |
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, showQuarantineNotificationequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic SystemWorkload()
public SystemWorkload(ServerListItem server)
server - ServerListItem which was returned in the ServerList request.public Iterator<WorkloadItem> iterator()
WorkloadItem.
If this class does not contain a workload list this method returns nulliterator in interface 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()
WorkloadItemCopyright © 2021. All rights reserved.