public class NWorkBalancerBuilderImpl<T> extends Object implements net.thevpc.nuts.concurrent.NWorkBalancerBuilder<T>
| Constructor and Description |
|---|
NWorkBalancerBuilderImpl(String id,
NWorkBalancerFactoryImpl factory) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.concurrent.NWorkBalancerBuilder.WorkerBuilder<T> |
addWorker(String workerName) |
net.thevpc.nuts.concurrent.NWorkBalancer<T> |
build() |
net.thevpc.nuts.concurrent.NWorkBalancerBuilder<T> |
remove(String workerName) |
net.thevpc.nuts.concurrent.NWorkBalancerBuilder<T> |
setOption(String optionName,
net.thevpc.nuts.elem.NElement optionValue) |
net.thevpc.nuts.concurrent.NWorkBalancerBuilder<T> |
strategy(net.thevpc.nuts.concurrent.NWorkBalancerDefaultStrategy strategy) |
net.thevpc.nuts.concurrent.NWorkBalancerBuilder<T> |
strategy(String strategy) |
public NWorkBalancerBuilderImpl(String id, NWorkBalancerFactoryImpl factory)
public net.thevpc.nuts.concurrent.NWorkBalancerBuilder.WorkerBuilder<T> addWorker(String workerName)
addWorker in interface net.thevpc.nuts.concurrent.NWorkBalancerBuilder<T>public net.thevpc.nuts.concurrent.NWorkBalancerBuilder<T> remove(String workerName)
remove in interface net.thevpc.nuts.concurrent.NWorkBalancerBuilder<T>public net.thevpc.nuts.concurrent.NWorkBalancerBuilder<T> strategy(String strategy)
strategy in interface net.thevpc.nuts.concurrent.NWorkBalancerBuilder<T>public net.thevpc.nuts.concurrent.NWorkBalancerBuilder<T> strategy(net.thevpc.nuts.concurrent.NWorkBalancerDefaultStrategy strategy)
strategy in interface net.thevpc.nuts.concurrent.NWorkBalancerBuilder<T>public net.thevpc.nuts.concurrent.NWorkBalancerBuilder<T> setOption(String optionName, net.thevpc.nuts.elem.NElement optionValue)
setOption in interface net.thevpc.nuts.concurrent.NWorkBalancerBuilder<T>Copyright © 2026 vpc open source initiative. All rights reserved.