Interface DialogueClients.ReloadingFactory
- All Superinterfaces:
com.palantir.conjure.java.clients.ConjureClients.NonReloadingClientFactory, com.palantir.conjure.java.clients.ConjureClients.ReloadingClientFactory, com.palantir.conjure.java.clients.ConjureClients.ToReloadingFactory<DialogueClients.ReloadingFactory>, com.palantir.conjure.java.clients.ConjureClients.WithClientOptions<DialogueClients.ReloadingFactory>, DialogueClients.ClientConfigurationNonReloadingClientFactory, DialogueClients.NonReloadingChannelFactory, DialogueClients.ReloadingChannelFactory, DialogueClients.WithDialogueOptions<DialogueClients.ReloadingFactory>
- Enclosing class:
DialogueClients
public static interface DialogueClients.ReloadingFactory
extends com.palantir.conjure.java.clients.ConjureClients.ReloadingClientFactory, com.palantir.conjure.java.clients.ConjureClients.WithClientOptions<DialogueClients.ReloadingFactory>, DialogueClients.WithDialogueOptions<DialogueClients.ReloadingFactory>, com.palantir.conjure.java.clients.ConjureClients.NonReloadingClientFactory, com.palantir.conjure.java.clients.ConjureClients.ToReloadingFactory<DialogueClients.ReloadingFactory>, DialogueClients.ReloadingChannelFactory, DialogueClients.NonReloadingChannelFactory, DialogueClients.ClientConfigurationNonReloadingClientFactory
-
Method Summary
Modifier and TypeMethodDescriptiongetStickyChannels(String serviceName) getStickyChannels2(String serviceName) withDeadlineEnforcement(boolean deadlineEnforcementEnabled) Configures whether deadline enforcement should be enforced or disabled for outbound requests.withDnsNodeDiscovery(boolean dnsNodeDiscovery) Feature flag to opt into or out of the default dns-based node discovery behavior.withDnsRefreshInterval(Duration interval) Configures the interval at which theDialogueDnsResolveris polled for DNS updates.withDnsResolver(com.palantir.dialogue.core.DialogueDnsResolver dnsResolver) Configures theDialogueDnsResolverused by clients managed by this factory.Methods inherited from interface com.palantir.conjure.java.clients.ConjureClients.NonReloadingClientFactory
getNonReloadingMethods inherited from interface com.palantir.conjure.java.clients.ConjureClients.ReloadingClientFactory
getMethods inherited from interface com.palantir.conjure.java.clients.ConjureClients.ToReloadingFactory
reloadingMethods inherited from interface com.palantir.conjure.java.clients.ConjureClients.WithClientOptions
withClientQoS, withConjureErrorParameterFormat, withFailedUrlCooldown, withHostEventsSink, withMaxNumRetries, withNodeSelectionStrategy, withRetryOnTimeout, withSecurityProvider, withServerQoS, withTaggedMetrics, withUserAgentMethods inherited from interface DialogueClients.ClientConfigurationNonReloadingClientFactory
getNonReloadingMethods inherited from interface DialogueClients.NonReloadingChannelFactory
getNonReloadingChannelMethods inherited from interface DialogueClients.ReloadingChannelFactory
getChannelMethods inherited from interface DialogueClients.WithDialogueOptions
withBlockingExecutor, withRuntime
-
Method Details
-
withDnsResolver
DialogueClients.ReloadingFactory withDnsResolver(com.palantir.dialogue.core.DialogueDnsResolver dnsResolver) Configures theDialogueDnsResolverused by clients managed by this factory. This should generally only be used for tests. -
withDnsRefreshInterval
Configures the interval at which theDialogueDnsResolveris polled for DNS updates. This should generally only be used for tests. -
withDnsNodeDiscovery
Feature flag to opt into or out of the default dns-based node discovery behavior. -
withDeadlineEnforcement
Configures whether deadline enforcement should be enforced or disabled for outbound requests. The default factory will use a "defer" enforcement strategy. -
getStickyChannels
-
getStickyChannels2
-
perHost
-