Package | Description |
---|---|
net.ymate.platform.persistence.redis | |
net.ymate.platform.persistence.redis.impl |
Modifier and Type | Method and Description |
---|---|
IRedisCommandHolder |
Redis.getConnectionHolder(String dataSourceName) |
IRedisCommandHolder |
Redis.getDefaultConnectionHolder() |
Modifier and Type | Method and Description |
---|---|
IRedisSession |
Redis.openSession(IRedisCommandHolder commandsHolder) |
<T> T |
IRedis.openSession(IRedisCommandHolder connectionHolder,
IRedisSessionExecutor<T> executor)
开启会话并执行会话执行器接口逻辑(执行完毕会话将自动关闭)
|
<T> T |
Redis.openSession(IRedisCommandHolder commandsHolder,
IRedisSessionExecutor<T> executor) |
void |
Redis.releaseConnectionHolder(IRedisCommandHolder connectionHolder) |
Modifier and Type | Class and Description |
---|---|
class |
RedisCommandHolder |
Modifier and Type | Method and Description |
---|---|
IRedisCommandHolder |
RedisSession.getConnectionHolder() |
Constructor and Description |
---|
RedisSession(IRedis owner,
IRedisCommandHolder commandHolder) |
Copyright © 2022. All rights reserved.