fal面試指導(dǎo)計劃
clusterConfiguration.setMaxRedirects(redisProperties.getCluster().getMaxRedirects());
? ? ? ?LettuceConnectionFactory lettuceConnectionFactory = new LettuceConnectionFactory(clusterConfiguration, clientConfig);
? ? ? ?// lettuceConnectionFactory.setShareNativeConnection(false); //是否允許多個線程操作共用同一個緩存連接,默認(rèn)true,false時每個操作
標(biāo)簽: