public interface ClientLoadbalanceStrategy extends LoadbalanceStrategy
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.
Currently this callback interface is supported for strategies configured in LoadbalanceRSocketClient
.
Modifier and Type | Method and Description |
---|---|
void |
initialize(RSocketConnector connector)
Initialize the connector, for example using the
InterceptorRegistry , to intercept
requests. |
select
void initialize(RSocketConnector connector)
InterceptorRegistry
, to intercept
requests.connector
- the connector to configure