Package cn.sinozg.applet.sa.service.impl
Class AuthStorageCustomizeServiceImpl
java.lang.Object
cn.sinozg.applet.sa.service.impl.AuthStorageCustomizeServiceImpl
- All Implemented Interfaces:
AuthStorageService
@Service
@ConditionalOnProperty(name="app.login.token-database")
public class AuthStorageCustomizeServiceImpl
extends Object
implements AuthStorageService
- Since:
- 2025-07-18 00:14
- Author:
- xieyubin
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AppValueprivate org.springframework.data.redis.connection.lettuce.LettuceConnectionFactoryprivate static final org.slf4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteObject(String key) void<T> TgetCacheObject(String key) longobjExpireTime(String key) redis()voidsetCacheObject(String key, Object value, long timeout)
-
Field Details
-
appValue
-
defaultFactory
private org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory defaultFactory -
redisTemplate
-
log
private static final org.slf4j.Logger log
-
-
Constructor Details
-
AuthStorageCustomizeServiceImpl
public AuthStorageCustomizeServiceImpl()
-
-
Method Details
-
getCacheObject
- Specified by:
getCacheObjectin interfaceAuthStorageService
-
setCacheObject
- Specified by:
setCacheObjectin interfaceAuthStorageService
-
deleteObject
- Specified by:
deleteObjectin interfaceAuthStorageService
-
objExpireTime
- Specified by:
objExpireTimein interfaceAuthStorageService
-
expire
- Specified by:
expirein interfaceAuthStorageService
-
keys
- Specified by:
keysin interfaceAuthStorageService
-
redis
-
createTemplate
-