Refactoring write method in redis cache adapter.
Refactoring write method in redis cache adapter.

wbeater/lithium,jails/lithium,davidpersson/lithium,jails/lithium,UnionOfRAD/lithium,muyehub/lithium,pixelcog/lithium,wbeater/lithium,datachand/lithium,graphis/lithium,m4rcsch/lithium-core-library,datachand/lithium,whowgames/lithium,muyehub/lithium,m4rcsch/lithium-core-library,pixelcog/lithium,UnionOfRAD/lithium,graphis/lithium,davidpersson/lithium,whowgames/lithium