public interface ConnectionInitializer
Initialize a connection to prepare it for usage.
- Since:
- 6.0
- Author:
- Mark Paluch
-
Method Summary
Modifier and Type Method Description CompletionStage<Void>initialize(Channel channel)Initialize the connection for usage.
-
Method Details
-
initialize
Initialize the connection for usage. This method is invoked after establishing the transport connection and before the connection is used for user-space commands.- Parameters:
channel- theChannelto initialize.- Returns:
- the
CompletionStagethat completes once the channel is fully initialized.
-