Home > Back-end > Java program using redis cache data, do not check in redis client
Java program using redis cache data, do not check in redis client
Time:09-26
Java program using redis cache data, data is cached in, but do not check in redis client
CodePudding user response:
You must save that why do you say
CodePudding user response:
No no is not put into it, how do you determine his deposit
CodePudding user response:
To ask how to determine his deposit
CodePudding user response:
How to solve the building Lord, encounter the same problem
CodePudding user response:
Detailed point problem, otherwise, how
CodePudding user response:
Agree with the upstairs, 1: insert and access server, 2: insert error, 3: query error, only have these three points each give it a try
CodePudding user response:
The building Lord, you didn't do key must be serialized, and then at the time of the client query, actual it is wrong to your key, if didn't do the key serialization store, the actual deposit in front of the key will be more than a few characters, if you use redis client queries you want to be the key, the best in the process of key serialization, so the final key value is what you want the key, redisTemplate here are the two attributes & lt; The property name="keySerializer & gt;"
CodePudding user response:
I have a look at which is deposited in the db and then on the client select the corresponding db, go in to look at, should have you set the value of the
CodePudding user response:
Sure redis cache in, because after the set in the program, and to get it, is to be able to get to the value of the cache