public class RolloutOptions extends Object
An sample expression of it in JSON might be:
{
"name": "foo-group",
"job": "foo:0.1.0",
"hostSelectors": [
{
"label": "foo",
"operator": "EQUALS"
"operand": "bar",
},
{
"label": "baz",
"operator": "EQUALS"
"operand": "qux",
}
],
"rolloutOptions": {
"migrate": false,
"parallelism": 2,
"timeout": 1000,
"overlap": true,
"token": "insecure-access-token"
}
}
| 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) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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)
public static RolloutOptions.Builder newBuilder()
public RolloutOptions.Builder toBuilder()
public long getTimeout()
public int getParallelism()
public boolean getMigrate()
public boolean getOverlap()
public String getToken()
Copyright © 2017. All rights reserved.