派生自 projectDept/qhighschool

胡仁荣
2023-08-04 2174b22bbbb45284765a23b8189df59583c65d29
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.qxueyou.scc.base.dao;
 
import org.springframework.stereotype.Component;
 
import redis.clients.jedis.ShardedJedis;
import redis.clients.jedis.ShardedJedisPool;
 
 
@Component
public final class ReidsSharedPoolWrapper{
    
    private ShardedJedisPool shardedJedisPool;
    
    public ShardedJedis getResource(){
        return shardedJedisPool.getResource();
    }
 
}