コード例 #1
0
        public RedisTypedTransaction(RedisTypedClient <T> redisClient)
        {
            this.redisClient = redisClient;

            if (redisClient.CurrentTransaction != null)
            {
                throw new InvalidOperationException("An atomic command is already in use");
            }

            redisClient.CurrentTransaction = this;
            redisClient.Multi();
        }
コード例 #2
0
 public RedisClientSets(RedisTypedClient <T> client)
 {
     this.client = client;
 }
コード例 #3
0
 public RedisClientList(RedisTypedClient <T> client, string listId)
 {
     this.listId = listId;
     this.client = client;
 }
コード例 #4
0
 internal RedisTypedCommandQueue(RedisTypedClient <T> redisClient)
 {
     RedisClient = redisClient;
 }
コード例 #5
0
 public RedisClientSortedSet(RedisTypedClient <T> client, string setId)
 {
     this.client = client;
     this.setId  = setId;
 }
コード例 #6
0
 public RedisClientHash(RedisTypedClient <T> client, string hashId)
 {
     this.client = client;
     this.hashId = hashId;
 }
コード例 #7
0
 internal RedisTypedTransaction(RedisTypedClient <T> redisClient)
     : base(redisClient)
 {
 }