Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
With regard to standardizing the key serialization by making it part of AbstractCache - didn't think it was really necessary so preferred to keep it cleaner and more consistent with value serialization which is left up to the various implementations. I did make some changes to the codec library to allow for simple usage by implementations also for keys, and added such usage to the Redis implementation.
However, If you think it might still be better to standardize it some more, maybe I can add another layer for that inheriting from AbstractCache or something.
Anyway, I hope this is alright. Let me know what you think.