public class RolloutOptions extends Object
An sample expression of it in JSON might be:
{
"migrate": false,
"parallelism": 2,
"timeout": 1000,
"overlap": true,
"token": "insecure-access-token",
"ignoreFailures": false
}
| Modifier and Type | Class and Description |
|---|---|
static class |
RolloutOptions.Builder |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PARALLELISM |
static long |
DEFAULT_TIMEOUT |
| Constructor and Description |
|---|
RolloutOptions(long timeout,
int parallelism,
boolean migrate,
boolean overlap,
String token,
boolean ignoreFailures) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getIgnoreFailures() |
boolean |
getMigrate() |
boolean |
getOverlap() |
int |
getParallelism() |
long |
getTimeout() |
String |
getToken() |
int |
hashCode() |
static RolloutOptions.Builder |
newBuilder() |
RolloutOptions.Builder |
toBuilder() |
String |
toString() |
public static final long DEFAULT_TIMEOUT
public static final int DEFAULT_PARALLELISM
public RolloutOptions(long timeout,
int parallelism,
boolean migrate,
boolean overlap,
@Nullable
String token,
boolean ignoreFailures)
public static RolloutOptions.Builder newBuilder()
public RolloutOptions.Builder toBuilder()
public long getTimeout()
public int getParallelism()
public boolean getMigrate()
public boolean getOverlap()
public String getToken()
public boolean getIgnoreFailures()
Copyright © 2017. All rights reserved.