Reomve a @Cacheable that might not work (#2102)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2024-11-23 16:52:06 +02:00
committed by GitHub
parent 016bada08b
commit 299d7091a2
4 changed files with 20 additions and 25 deletions

View File

@@ -17,12 +17,9 @@ import org.springframework.cache.Cache;
import org.springframework.cache.CacheManager;
/**
* A {@link CacheManager} delegator which wraps the
* {@link CacheManager#getCache(String)} and
* {@link CacheManager#getCacheNames()} to include the
* {@link TenantAware#getCurrentTenant()} when accessing a cache, so caches are
* seperated.
*
* A {@link CacheManager} delegator which wraps the {@link CacheManager#getCache(String)} and {@link CacheManager#getCacheNames()}
* to include the {@link TenantAware#getCurrentTenant()} when accessing a cache, so caches are seperated.
* <p/>
* Additionally, it also provides functionality to retrieve all caches overall tenants at once, for monitoring and system access.
*/
public class TenantAwareCacheManager implements TenancyCacheManager {