public class ClusterStatusResponse extends Object
Response object for the "cluster status" function of the web-service API.
This object is primarily intended to facilitate the JSON serialization of the data provided by the API controller. For this reason, it does not perform any checks on the parameters used to construct the object.
| Modifier and Type | Class and Description |
|---|---|
static class |
ClusterStatusResponse.ServerItem
Individual server item in the
ClusterStatusResponse. |
| Constructor and Description |
|---|
ClusterStatusResponse(List<ClusterStatusResponse.ServerItem> servers)
Creates a cluster status response.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<ClusterStatusResponse.ServerItem> |
getServers()
Returns the list of servers in the cluster with their status information.
|
int |
hashCode() |
String |
toString() |
public ClusterStatusResponse(List<ClusterStatusResponse.ServerItem> servers)
servers - list containing the status of each server in the cluster.public List<ClusterStatusResponse.ServerItem> getServers()
Copyright © 2011–2017 aquenos GmbH. All rights reserved.