GetReadManager() 공개 메소드

public GetReadManager ( string key ) : IRedisClientsManager
key string
리턴 IRedisClientsManager
예제 #1
0
        private IRedisTypedPipeline <T> GetReadPipeline(string key)
        {
            var manager = shardingStrategy.GetReadManager(key);

            return(GetPipeline(manager));
        }
예제 #2
0
        public T Read <T>(string key, Func <IRedisClient, T> func)
        {
            var manager = shardingStrategy.GetReadManager(key);

            return(func(GetCachedClient(manager)));
        }