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

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -