Interface | Description |
---|---|
ClientLoadbalanceStrategy |
A
LoadbalanceStrategy with an interest in configuring the RSocketConnector for
connecting to load-balance targets in order to hook into request lifecycle and track usage
statistics. |
LoadbalanceStrategy |
Strategy to select an
RSocket given a list of instances for load-balancing purposes. |
WeightedStats |
Contract to expose the stats required in
WeightedLoadbalanceStrategy to calculate an
algorithmic weight for an RSocket . |
Class | Description |
---|---|
BaseWeightedStats |
Implementation of
WeightedStats that manages tracking state and exposes the required
stats. |
LoadbalanceRSocketClient |
An implementation of RSocketClient backed by a pool of {@code RSocket} instances and using a {@link
LoadbalanceStrategy} to select the {@code RSocket} to use for a given request.
|
LoadbalanceRSocketClient.Builder |
Builder for creating an
LoadbalanceRSocketClient . |
LoadbalanceTarget |
Representation for a load-balance target used as input to
LoadbalanceRSocketClient that
in turn maintains and peridodically updates a list of current load-balance targets. |
RoundRobinLoadbalanceStrategy |
Simple
LoadbalanceStrategy that selects the RSocket to use in round-robin order. |
WeightedLoadbalanceStrategy |
LoadbalanceStrategy that assigns a weight to each RSocket based on availability and usage statistics. |
WeightedLoadbalanceStrategy.Builder |
Builder for
WeightedLoadbalanceStrategy . |
WeightedStatsRequestInterceptor |
RequestInterceptor that hooks into request lifecycle and calls methods of the parent
class to manage tracking state and expose WeightedStats . |