Skip to content

sakura-xiamu/RedisMultipartClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

RedisMultipartClient

redis multipart client

Redis多库实现

传统的RedisTemplate访问不了多个Redis的库号

使用通过指定库号进行Jedis实例化

public void testRedisMultipartClient() {

    Jedis redisClient = RedisMultipartClient.getRedisClient(10);
    
    redisClient.set("yhk", "111");
    
    Jedis redisClient2 = RedisMultipartClient.getRedisClient(11);
    
    redisClient2.set("yhk", "111");
    
}

About

redis multipart client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages