Interface DialogueClients.PerHostClientFactory
- Enclosing class:
DialogueClients
public static interface DialogueClients.PerHostClientFactory
-
Method Summary
Modifier and TypeMethodDescription<T> com.palantir.refreshable.Refreshable<Map<PerHostTarget, T>> getNamedPerHost(Class<T> clientInterface) com.palantir.refreshable.Refreshable<Map<PerHostTarget, com.palantir.dialogue.Channel>> Returns a list of channels where each channel will route requests to a single, unique host, even if that host returns some 429s.default <T> com.palantir.refreshable.Refreshable<List<T>> getPerHost(Class<T> clientInterface) default com.palantir.refreshable.Refreshable<List<com.palantir.dialogue.Channel>> Returns a list of channels where each channel will route requests to a single, unique host, even if that host returns some 429s.
-
Method Details
-
getPerHostChannels
default com.palantir.refreshable.Refreshable<List<com.palantir.dialogue.Channel>> getPerHostChannels()Returns a list of channels where each channel will route requests to a single, unique host, even if that host returns some 429s. -
getPerHost
-
getNamedPerHostChannels
com.palantir.refreshable.Refreshable<Map<PerHostTarget, com.palantir.dialogue.Channel>> getNamedPerHostChannels()Returns a list of channels where each channel will route requests to a single, unique host, even if that host returns some 429s. The channels are uniquely identified by a stable, opaque key. -
getNamedPerHost
<T> com.palantir.refreshable.Refreshable<Map<PerHostTarget, T>> getNamedPerHost(Class<T> clientInterface)
-