use of com.ctrip.xpipe.redis.console.health.DefaultRedisSessionManager in project x-pipe by ctripcorp.
the class DefaultSentinelCollectorTest method beforeDefaultSentinelCollectorTest.
@Before
public void beforeDefaultSentinelCollectorTest() {
sentinelCollector = new DefaultSentinelCollector();
sentinelCollector.setSessionManager(new DefaultRedisSessionManager(1, Executors.newFixedThreadPool(1), Executors.newFixedThreadPool(1)));
masterSentinels = Sets.newHashSet(new HostPort("127.0.0.1", 5000), new HostPort("127.0.0.1", 5001), new HostPort("127.0.0.1", 5002), new HostPort("127.0.0.1", 5003), new HostPort("127.0.0.1", 5004));
}
Aggregations