redis - Using jedis How to cache Java object -
using redis java client jedis
how can cache java object?
you can't store objects directly redis. convert object string , put in redis. in order object must serialized. convert object bytearray , use encoding algorithm (ex base64encoding) , convert string store in redis. while retrieving reverse process, convert string byte array using decoding algorithm (ex: base64decoding) , convert object.
Comments
Post a Comment