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, showQuarantineNotification
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public 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 null
iterator
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()
WorkloadItem
Copyright © 2021. All rights reserved.