Revise RedisCache documentation.

Original Pull Request: #2051
This commit is contained in:
Mark Paluch
2021-04-21 11:07:42 +02:00
committed by Christoph Strobl
parent 0dc89b8001
commit 1a290c3a96
4 changed files with 134 additions and 119 deletions

View File

@@ -39,8 +39,8 @@ public abstract class BatchStrategy {
/**
* Batching strategy using a single {@code KEYS} and {@code DEL} command to remove all matching keys. {@code KEYS}
* scans the entire keyspace of the Redis database and can block the Redis worker thread for a long time when the
* keyspace has a significant size.
* scans the entire keyspace of the Redis database and can block the Redis worker thread for a long time on large
* keyspaces.
* <p/>
* {@code KEYS} is supported for standalone and clustered (sharded) Redis operation modes.
*

View File

@@ -169,6 +169,8 @@ public class RedisCacheManager extends AbstractTransactionSupportingCacheManager
* <dl>
* <dt>locking</dt>
* <dd>disabled</dd>
* <dt>batch strategy</dt>
* <dd>{@link BatchStrategy#keys() KEYS}</dd>
* <dt>cache configuration</dt>
* <dd>{@link RedisCacheConfiguration#defaultCacheConfig()}</dd>
* <dt>initial caches</dt>