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 -
      See Also:
    • onCommand

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

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