DATAREDIS-727 - Fix RedisCacheManagerBuilder Javadoc.
Document what actually happens. Original pull request: #292.
This commit is contained in:
@@ -259,7 +259,7 @@ public class RedisCacheManager extends AbstractTransactionSupportingCacheManager
|
||||
* Define a default {@link RedisCacheConfiguration} applied to dynamically created {@link RedisCache}s.
|
||||
*
|
||||
* @param defaultCacheConfiguration must not be {@literal null}.
|
||||
* @return new instance of {@link RedisCacheManagerBuilder}.
|
||||
* @return this {@link RedisCacheManagerBuilder}.
|
||||
*/
|
||||
public RedisCacheManagerBuilder cacheDefaults(RedisCacheConfiguration defaultCacheConfiguration) {
|
||||
|
||||
@@ -273,7 +273,7 @@ public class RedisCacheManager extends AbstractTransactionSupportingCacheManager
|
||||
/**
|
||||
* Enable {@link RedisCache}s to synchronize cache put/evict operations with ongoing Spring-managed transactions.
|
||||
*
|
||||
* @return new instance of {@link RedisCacheManagerBuilder}.
|
||||
* @return this {@link RedisCacheManagerBuilder}.
|
||||
*/
|
||||
public RedisCacheManagerBuilder transactionAware() {
|
||||
|
||||
@@ -288,7 +288,7 @@ public class RedisCacheManager extends AbstractTransactionSupportingCacheManager
|
||||
* default {@link RedisCacheConfiguration} is present at the time of invoking this method.
|
||||
*
|
||||
* @param cacheNames must not be {@literal null}.
|
||||
* @return new instance of {@link RedisCacheManagerBuilder}.
|
||||
* @return this {@link RedisCacheManagerBuilder}.
|
||||
*/
|
||||
public RedisCacheManagerBuilder initialCacheNames(Set<String> cacheNames) {
|
||||
|
||||
@@ -304,7 +304,7 @@ public class RedisCacheManager extends AbstractTransactionSupportingCacheManager
|
||||
* Append a {@link Map} of cache name/{@link RedisCacheConfiguration} pairs to be pre initialized.
|
||||
*
|
||||
* @param cacheConfigurations must not be {@literal null}.
|
||||
* @return new instance of {@link RedisCacheManagerBuilder}.
|
||||
* @return this {@link RedisCacheManagerBuilder}.
|
||||
*/
|
||||
public RedisCacheManagerBuilder withInitialCacheConfigurations(
|
||||
Map<String, RedisCacheConfiguration> cacheConfigurations) {
|
||||
|
||||
Reference in New Issue
Block a user