public class NWorkBalancerWorkerImpl extends Object implements net.thevpc.nuts.concurrent.NWorkBalancerWorker
| Constructor and Description |
|---|
NWorkBalancerWorkerImpl(net.thevpc.nuts.concurrent.NWorkBalancerWorkerModel selectedWorker) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> |
getOption(String name) |
net.thevpc.nuts.concurrent.NWorkBalancerHostLoadMetricProvider |
hostLoadMetricsProvider() |
String |
name() |
Map<String,net.thevpc.nuts.elem.NElement> |
options() |
float |
weight() |
public NWorkBalancerWorkerImpl(net.thevpc.nuts.concurrent.NWorkBalancerWorkerModel selectedWorker)
public String name()
name in interface net.thevpc.nuts.concurrent.NWorkBalancerWorkerpublic net.thevpc.nuts.concurrent.NWorkBalancerHostLoadMetricProvider hostLoadMetricsProvider()
hostLoadMetricsProvider in interface net.thevpc.nuts.concurrent.NWorkBalancerWorkerpublic Map<String,net.thevpc.nuts.elem.NElement> options()
options in interface net.thevpc.nuts.concurrent.NWorkBalancerWorkerpublic float weight()
weight in interface net.thevpc.nuts.concurrent.NWorkBalancerWorkerpublic net.thevpc.nuts.util.NOptional<net.thevpc.nuts.elem.NElement> getOption(String name)
getOption in interface net.thevpc.nuts.concurrent.NWorkBalancerWorkerCopyright © 2026 vpc open source initiative. All rights reserved.