Skip to content

NormanGyllenhaal/sentinel-slave-jedis-pool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

this is a sentinel jedis pool ,can read from slave ,write from master

 JedisSentinelSlavePool pool = new JedisSentinelSlavePool(masterName, sentinels, config);
 Jedis master = pool.getResource();
 Jedis slave = pool.getSlaveResource();
 master.set("test","");
 slave.get("test")

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages