Skip to content

Single atomic method for two set() and expireAt() calls? #2606

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

You must be logged in to vote

Use SET command with EXAT argument.

jedis.set(key, value, SetParams.setParams().exAt(timestamp));

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@babakeghbali
Comment options

@sazzad16
Comment options

@babakeghbali
Comment options

Answer selected by babakeghbali
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