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? -

powershell - Invoke-WebRequest fails for a large file -

firebase - How to wait value in Ionic 2 -