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

firebase - How to wait value in Ionic 2 -

Jenkins: find build number for git commit -

typescript - Typings for sub-folders inside a root index.d.ts -