summaryrefslogtreecommitdiffstats
path: root/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/FleetControllerOptions.java
diff options
context:
space:
mode:
Diffstat (limited to 'clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/FleetControllerOptions.java')
-rw-r--r--clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/FleetControllerOptions.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/FleetControllerOptions.java b/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/FleetControllerOptions.java
index 1541e1a4218..bac6a838300 100644
--- a/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/FleetControllerOptions.java
+++ b/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/FleetControllerOptions.java
@@ -24,7 +24,6 @@ public class FleetControllerOptions {
private final String clusterName;
private final int fleetControllerIndex;
private final int fleetControllerCount;
- private final int stateGatherCount;
private final String[] slobrokConnectionSpecs;
private final int rpcPort;
@@ -132,7 +131,6 @@ public class FleetControllerOptions {
private FleetControllerOptions(String clusterName,
int fleetControllerIndex,
int fleetControllerCount,
- int stateGatherCount,
String[] slobrokConnectionSpecs,
int rpcPort,
int httpPort,
@@ -174,7 +172,6 @@ public class FleetControllerOptions {
this.clusterName = clusterName;
this.fleetControllerIndex = fleetControllerIndex;
this.fleetControllerCount = fleetControllerCount;
- this.stateGatherCount = stateGatherCount;
this.slobrokConnectionSpecs = slobrokConnectionSpecs;
this.rpcPort = rpcPort;
this.httpPort = httpPort;
@@ -235,10 +232,6 @@ public class FleetControllerOptions {
return fleetControllerCount;
}
- public int stateGatherCount() {
- return stateGatherCount;
- }
-
public String[] slobrokConnectionSpecs() {
return slobrokConnectionSpecs;
}
@@ -394,7 +387,6 @@ public class FleetControllerOptions {
private String clusterName;
private int index = 0;
private int count = 1;
- private int stateGatherCount = 2;
private String[] slobrokConnectionSpecs;
private int rpcPort = 0;
private int httpPort = 0;
@@ -464,11 +456,6 @@ public class FleetControllerOptions {
return this;
}
- public Builder setStateGatherCount(int stateGatherCount) {
- this.stateGatherCount = stateGatherCount;
- return this;
- }
-
public Builder setSlobrokConnectionSpecs(String[] slobrokConnectionSpecs) {
Objects.requireNonNull(slobrokConnectionSpecs, "slobrokConnectionSpecs cannot be null");
this.slobrokConnectionSpecs = slobrokConnectionSpecs;
@@ -694,7 +681,6 @@ public class FleetControllerOptions {
return new FleetControllerOptions(clusterName,
index,
count,
- stateGatherCount,
slobrokConnectionSpecs,
rpcPort,
httpPort,
@@ -740,7 +726,6 @@ public class FleetControllerOptions {
builder.clusterName = options.clusterName;
builder.index = options.fleetControllerIndex;
builder.count = options.fleetControllerCount;
- builder.stateGatherCount = options.stateGatherCount;
builder.slobrokConnectionSpecs = options.slobrokConnectionSpecs;
builder.rpcPort = options.rpcPort;
builder.httpPort = options.httpPort;