@Generated(value="by GAPIC") @BetaApi public final class OutlierDetection extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
OutlierDetection.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
Duration |
getBaseEjectionTime()
The base time that a host is ejected for.
|
Integer |
getConsecutiveErrors()
Number of errors before a host is ejected from the connection pool.
|
Integer |
getConsecutiveGatewayFailure()
The number of consecutive gateway failures (502, 503, 504 status or connection errors that are
mapped to one of those status codes) before a consecutive gateway failure ejection occurs.
|
static OutlierDetection |
getDefaultInstance() |
Integer |
getEnforcingConsecutiveErrors()
The percentage chance that a host will be actually ejected when an outlier status is detected
through consecutive 5xx.
|
Integer |
getEnforcingConsecutiveGatewayFailure()
The percentage chance that a host will be actually ejected when an outlier status is detected
through consecutive gateway failures.
|
Integer |
getEnforcingSuccessRate()
The percentage chance that a host will be actually ejected when an outlier status is detected
through success rate statistics.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
Duration |
getInterval()
Time interval between ejection sweep analysis.
|
Integer |
getMaxEjectionPercent()
Maximum percentage of hosts in the load balancing pool for the backend service that can be
ejected.
|
Integer |
getSuccessRateMinimumHosts()
The number of hosts in a cluster that must have enough request volume to detect success rate
outliers.
|
Integer |
getSuccessRateRequestVolume()
The minimum number of total requests that must be collected in one interval (as defined by the
interval duration above) to include this host in success rate based outlier detection.
|
Integer |
getSuccessRateStdevFactor()
This factor is used to determine the ejection threshold for success rate outlier ejection.
|
int |
hashCode() |
static OutlierDetection.Builder |
newBuilder() |
static OutlierDetection.Builder |
newBuilder(OutlierDetection prototype) |
OutlierDetection.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public Duration getBaseEjectionTime()
public Integer getConsecutiveErrors()
public Integer getConsecutiveGatewayFailure()
public Integer getEnforcingConsecutiveErrors()
public Integer getEnforcingConsecutiveGatewayFailure()
public Integer getEnforcingSuccessRate()
public Duration getInterval()
public Integer getMaxEjectionPercent()
public Integer getSuccessRateMinimumHosts()
public Integer getSuccessRateRequestVolume()
public Integer getSuccessRateStdevFactor()
public static OutlierDetection.Builder newBuilder()
public static OutlierDetection.Builder newBuilder(OutlierDetection prototype)
public OutlierDetection.Builder toBuilder()
public static OutlierDetection getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.