Open guersam opened 11 years ago
FWIW i integrated pickling on my own and it was pretty easy with this library. if you have a
case class SomeClass
val x = SomeClass
you can quite easily use redis.set(somekey, x.pickle.value) into the cache.
Then when retreiving, you simply do
val r = redis.get(somekey)
r.unpickle[SomeClass] match { case s: SomeClass => case _ }
Scala Pickling looks promising and about to release the first stable version.