Module lettuce.core

Interface ConnectionInitializer


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

      CompletionStage<Void> initialize​(Channel channel)
      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 - the Channel to initialize.
      Returns:
      the CompletionStage that completes once the channel is fully initialized.