public class SolrClusterSizeResponse extends GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
SolrClusterSizeResponse.Status
The Enum Status.
|
Constructor and Description |
---|
SolrClusterSizeResponse(String clusterId,
Integer currentSize,
Integer targetSize,
String message,
SolrClusterSizeResponse.Status status)
Instantiates a resize request response.
|
SolrClusterSizeResponse(String clusterId,
Integer currentSize,
String message)
Instantiates size request response for a cluster that's not being resized currently.
|
Modifier and Type | Method and Description |
---|---|
String |
geClusterId()
Ge cluster id.
|
Integer |
getCurrentSize()
Gets the current size.
|
String |
getMessage()
Gets the message.
|
SolrClusterSizeResponse.Status |
getStatus()
Gets the status.
|
Integer |
getTargetSize()
Gets the target size.
|
equals, hashCode, toString
public SolrClusterSizeResponse(String clusterId, Integer currentSize, Integer targetSize, String message, SolrClusterSizeResponse.Status status)
clusterId
- the cluster IdcurrentSize
- the cluster sizetargetSize
- size to resize the cluster tomessage
- response message from the R&R servicestatus
- The status of the resize processpublic SolrClusterSizeResponse(String clusterId, Integer currentSize, String message)
clusterId
- the cluster IdcurrentSize
- the cluster sizemessage
- response message from the R&R service.public String geClusterId()
public SolrClusterSizeResponse.Status getStatus()
public Integer getCurrentSize()
public Integer getTargetSize()
public String getMessage()
Copyright © 2015–2016. All rights reserved.