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 TypeMethodDescriptionvoidonClose(StatefulConnection<?, ?> connection) Callback if the pipeline gets closed.voidonCommand(StatefulConnection<?, ?> connection) Callback for each issued Redis command.voidonOpen(StatefulConnection<?, ?> connection) Callback if the pipeline gets opened.
-
Method Details
-
onOpen
Callback if the pipeline gets opened.- Parameters:
connection- LettuceStatefulConnection.- See Also:
-
onCommand
Callback for each issued Redis command.- Parameters:
connection- LettuceStatefulConnection.- See Also:
-
onClose
Callback if the pipeline gets closed.- Parameters:
connection- LettuceStatefulConnection.- See Also:
-