Skip to content

How to use Pipeline with UnifiedJedis client #3491

Answered by sazzad16
Datta19 asked this question in Q&A
Discussion options

You must be logged in to vote

You are required to do a type-cast:

Pipeline pipeline = (Pipeline) client.pipelined();

From Jedis 5, you would be able to do:

PipelineBase pipeline = client.pipelined();

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Datta19
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants