diff options
author | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2020-06-04 14:31:04 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2020-06-04 14:31:04 +0200 |
commit | 6166eb23fb2fc8a67d91c9a7b3c9888f26e7291d (patch) | |
tree | 94e3599fdff526cc7b00d43b0eddcd3d65c93a1c /config-model | |
parent | 565fd504379e9b3592a4a4afa708386b9f08cbed (diff) |
Add missing public access modifier
Diffstat (limited to 'config-model')
-rw-r--r-- | config-model/src/main/java/com/yahoo/vespa/model/container/ThreadPoolExecutorComponent.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/container/ThreadPoolExecutorComponent.java b/config-model/src/main/java/com/yahoo/vespa/model/container/ThreadPoolExecutorComponent.java index 0c79239bdcd..2926cb3ee6c 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/container/ThreadPoolExecutorComponent.java +++ b/config-model/src/main/java/com/yahoo/vespa/model/container/ThreadPoolExecutorComponent.java @@ -58,13 +58,13 @@ public class ThreadPoolExecutorComponent extends SimpleComponent implements Thre public Builder(String name) { this.name = name; } - Builder maxPoolSize(int size) { this.maxPoolSize = size; return this; } - Builder corePoolSize(int size) { this.corePoolSize = size; return this; } - Builder keepAliveTime(Duration time) { this.keepAliveTime = time; return this; } - Builder queueSize(int size) { this.queueSize = size; return this; } - Builder maxThreadExecutionTime(Duration time) { this.maxThreadExecutionTime = time; return this; } + public Builder maxPoolSize(int size) { this.maxPoolSize = size; return this; } + public Builder corePoolSize(int size) { this.corePoolSize = size; return this; } + public Builder keepAliveTime(Duration time) { this.keepAliveTime = time; return this; } + public Builder queueSize(int size) { this.queueSize = size; return this; } + public Builder maxThreadExecutionTime(Duration time) { this.maxThreadExecutionTime = time; return this; } - ThreadPoolExecutorComponent build() { return new ThreadPoolExecutorComponent(this); } + public ThreadPoolExecutorComponent build() { return new ThreadPoolExecutorComponent(this); } } } |