Interface LettuceConnection.PipeliningFlushState

Enclosing class:
LettuceConnection

public static interface LettuceConnection.PipeliningFlushState
State object associated with flushing of the currently ongoing pipeline.
Since:
2.3
Author:
Mark Paluch
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onClose(io.lettuce.core.api.StatefulConnection<?,?> connection)
    Callback if the pipeline gets closed.
    void
    onCommand(io.lettuce.core.api.StatefulConnection<?,?> connection)
    Callback for each issued Redis command.
    void
    onOpen(io.lettuce.core.api.StatefulConnection<?,?> connection)
    Callback if the pipeline gets opened.
  • Method Details

    • onOpen

      void onOpen(io.lettuce.core.api.StatefulConnection<?,?> connection)
      Callback if the pipeline gets opened.
      Parameters:
      connection - Lettuce StatefulConnection.
      See Also:
    • onCommand

      void onCommand(io.lettuce.core.api.StatefulConnection<?,?> connection)
      Callback for each issued Redis command.
      Parameters:
      connection - Lettuce StatefulConnection.
      See Also:
      • LettuceConnection.pipeline(LettuceResult)
    • onClose

      void onClose(io.lettuce.core.api.StatefulConnection<?,?> connection)
      Callback if the pipeline gets closed.
      Parameters:
      connection - Lettuce StatefulConnection.
      See Also: