Class HvlAuthEndpointRedisCachesServiceImpl
java.lang.Object
tr.com.havelsan.javarch.oauth.auth.starter.cache.redis.HvlAuthEndpointRedisCachesServiceImpl
- All Implemented Interfaces:
HvlAuthEndpointCachesService
@Profile("redis")
@Service
public class HvlAuthEndpointRedisCachesServiceImpl
extends Object
implements HvlAuthEndpointCachesService
The class which implements
HvlAuthEndpointCachesService
for Redis.-
Constructor Summary
ConstructorDescriptionHvlAuthEndpointRedisCachesServiceImpl
(org.springframework.cache.CacheManager cacheManager, tr.com.havelsan.javarch.session.data.support.HvlSessionSupportService<HvlSessionDataRedisUserDocument> sessionSupportService) Instantiates a new HvlAuthEndpointRedisCachesService. -
Method Summary
-
Constructor Details
-
HvlAuthEndpointRedisCachesServiceImpl
public HvlAuthEndpointRedisCachesServiceImpl(org.springframework.cache.CacheManager cacheManager, tr.com.havelsan.javarch.session.data.support.HvlSessionSupportService<HvlSessionDataRedisUserDocument> sessionSupportService) Instantiates a new HvlAuthEndpointRedisCachesService.- Parameters:
cacheManager
- the cache managersessionSupportService
- the session support service
-
-
Method Details
-
clear
public void clear(@NotBlank @NotBlank String cache) throws tr.com.havelsan.javarch.session.data.support.exception.HvlSessionSupportException Clears cache.- Specified by:
clear
in interfaceHvlAuthEndpointCachesService
- Parameters:
cache
- the cache- Throws:
tr.com.havelsan.javarch.session.data.support.exception.HvlSessionSupportException
- the exception
-
clearAll
public void clearAll() throws tr.com.havelsan.javarch.session.data.support.exception.HvlSessionSupportExceptionClears all cache.- Specified by:
clearAll
in interfaceHvlAuthEndpointCachesService
- Throws:
tr.com.havelsan.javarch.session.data.support.exception.HvlSessionSupportException
- the exception
-