java - Are there any ways to check whether a key exists with RedisTemplate? -




are there ways check whether key exists redistemplate? or in other words, there equivalent of redis exists command in redistemplate api?

yes, can use public boolean haskey(k key).

you can search exists in redistemplate javadoc





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -