DATAREDIS-1091 - Polishing.
Make fields final where possible. Update since tags. Original pull request: #517.
This commit is contained in:
@@ -869,7 +869,7 @@ public class RedisKeyValueAdapter extends AbstractKeyValueAdapter
|
||||
* publishing {@link RedisKeyspaceEvent}.
|
||||
*
|
||||
* @author Christoph Strobl
|
||||
* @since 2.3
|
||||
* @since 2.4
|
||||
*/
|
||||
public enum ShadowCopy {
|
||||
|
||||
@@ -900,8 +900,8 @@ public class RedisKeyValueAdapter extends AbstractKeyValueAdapter
|
||||
private final Object targetId;
|
||||
private final byte[] targetKey;
|
||||
|
||||
private Set<byte[]> fieldsToRemove = new LinkedHashSet<>();
|
||||
private Set<Index> indexesToUpdate = new LinkedHashSet<>();
|
||||
private final Set<byte[]> fieldsToRemove = new LinkedHashSet<>();
|
||||
private final Set<Index> indexesToUpdate = new LinkedHashSet<>();
|
||||
|
||||
RedisUpdateObject(byte[] targetKey, String keyspace, Object targetId) {
|
||||
|
||||
|
||||
@@ -170,9 +170,9 @@ public @interface EnableRedisRepositories {
|
||||
/**
|
||||
* Configuration flag controlling storage of phantom keys (shadow copies) of expiring entities to read them later when
|
||||
* publishing {@link org.springframework.data.redis.core.RedisKeyspaceEvent keyspace events}.
|
||||
*
|
||||
*
|
||||
* @return
|
||||
* @since 2.3
|
||||
* @since 2.4
|
||||
*/
|
||||
ShadowCopy shadowCopy() default ShadowCopy.DEFAULT;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user