K - key type of the producer proxy.V - value type of the producer proxy.public class ProducerSwitcher<K,V> extends BaseClientProxySwitcher<ProducerProxy<K,V>,SwitchingProducerConfig<K,V>>
| Constructor and Description |
|---|
ProducerSwitcher() |
| Modifier and Type | Method and Description |
|---|---|
protected ProducerProxy<K,V> |
createProxyObject(SwitchingProducerConfig config,
DiscoveryResult discoveryResult) |
protected java.time.Duration |
getSwitchTimeout(SwitchingProducerConfig config,
DiscoveryResult oldResult,
DiscoveryResult newResult) |
getDistributorTimeout, switchProxyprotected ProducerProxy<K,V> createProxyObject(SwitchingProducerConfig config, DiscoveryResult discoveryResult)
createProxyObject in class BaseClientProxySwitcher<ProducerProxy<K,V>,SwitchingProducerConfig<K,V>>protected java.time.Duration getSwitchTimeout(SwitchingProducerConfig config, DiscoveryResult oldResult, DiscoveryResult newResult)
getSwitchTimeout in class BaseClientProxySwitcher<ProducerProxy<K,V>,SwitchingProducerConfig<K,V>>Copyright © 2020–2022 Axual B.V.. All rights reserved.