Skip to content

Commit 947f189

Browse files
author
Julien Ruaux
committed
Copy files from source repo
1 parent a331904 commit 947f189

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

README.adoc

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
:artifact-id: redis-cache-core
88
:project-dist: redis-cache-java-dist
99
:project-group: com.redis
10-
:project-name: redis-cache-java
10+
:project-name: redis-cache
1111
:project-owner: redis-field-engineering
1212
:project-title: Redis Cache Java
1313
:project-url: https://github.com/{project-owner}/{project-dist}
14-
:project-version: 0.2.0
14+
:project-version: 0.2.1
1515

1616
image:https://github.com/{project-owner}/{project-name}/actions/workflows/early-access.yml/badge.svg["Build Status", link="https://github.com/{project-owner}/{project-name}/actions/workflows/early-access.yml"]
1717
image:https://codecov.io/gh/{project-owner}/{project-name}/graph/badge.svg?token={codecov-token}["Coverage", link="https://codecov.io/gh/{project-owner}/{project-name}"]
@@ -168,9 +168,12 @@ Default is `HASH`.
168168

169169
Each type has a corresponding value mapper which can be overriden:
170170

171-
* `HASH`: `hashMapper(RedisHashMapper mapper)`
172-
* `STRING`: `stringMapper(RedisStringMapper mapper)`
173-
* `JSON`: `jsonMapper(RedisStringMapper mapper)`
171+
`HASH`:: Set with `RedisCacheConfiguration.hashMapper(RedisHashMapper mapper)`. Defaults to `com.redis.cache.common.mapping.ObjectHashMapper`.
172+
173+
`STRING`:: Set with `RedisCacheConfiguration.stringMapper(RedisStringMapper mapper)`. Defaults to `com.redis.cache.common.mapping.JdkSerializationStringMapper`.
174+
175+
`JSON`:: Set with `RedisCacheConfiguration.jsonMapper(RedisStringMapper mapper)`. Defaults to `com.redis.cache.common.mapping.GenericJackson2JsonMapper`.
176+
174177

175178
==== Client-Side Caching
176179

0 commit comments

Comments
 (0)