Interface DialogueClients.StickyChannelSession
- Enclosing class:
DialogueClients
public static interface DialogueClients.StickyChannelSession
Represents a single session of
DialogueClients.StickyChannelFactory2 where the underlying channel will not change.
This is useful when multiple client interfaces must be bound to use the same host.-
Method Summary
Modifier and TypeMethodDescriptioncom.palantir.dialogue.ChannelReturns a channel which will route all requests to a single host, even if that host returns some 429s.<T> T
-
Method Details
-
getStickyChannel
com.palantir.dialogue.Channel getStickyChannel()Returns a channel which will route all requests to a single host, even if that host returns some 429s. Each successive call to this method may get a different channel (or it may return the same one). -
sticky
-