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

elasticsearch - what is the equivalent data type for geo_point in hibernate search? -

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

Asterisk AGI Python Script to Dialplan does not work -