Пример #1
0
        internal StoreOperation(ServerPool pool, StoreCommand mode, string key, object value, ulong casValue, TimeSpan validFor, DateTime expiresAt)
            : base(pool, key)
        {
            this.mode     = mode;
            this.value    = value;
            this.casValue = casValue;

            this.expires = GetExpiration(validFor, expiresAt);
        }
Пример #2
0
		internal StoreOperation(ServerPool pool, StoreCommand mode, string key, object value, ulong casValue, TimeSpan validFor, DateTime expiresAt)
			: base(pool, key)
		{
			this.mode = mode;
			this.value = value;
			this.casValue = casValue;

			this.expires = GetExpiration(validFor, expiresAt);
		}
        protected ItemOperation(ServerPool pool, string key)
            : base(pool)
        {
            if (key == null)
                throw new ArgumentNullException("key", "Item key must be specified.");

            if (key.Length == 0)
                throw new ArgumentException("Item key must be specified.", "key");

            this.key = key;
        }
Пример #4
0
 public StatsOperation(ServerPool pool) : base(pool)
 {
 }
Пример #5
0
 protected Operation(ServerPool serverPool)
 {
     this.serverPool = serverPool;
 }
Пример #6
0
		internal IncrementOperation(ServerPool pool, string key, uint amount)
			: base(pool, key)
		{
			this.amount = amount;
		}
Пример #7
0
 public FlushOperation(ServerPool pool) : base(pool)
 {
 }
Пример #8
0
 internal GetOperation(ServerPool pool, string key)
     : base(pool, key)
 {
 }
Пример #9
0
		protected Operation(ServerPool serverPool)
		{
			this.serverPool = serverPool;
		}
Пример #10
0
		internal GetOperation(ServerPool pool, string key)
			: base(pool, key)
		{
		}
Пример #11
0
 protected ItemOperation(ServerPool pool, string key)
     : base(pool)
 {
     this.key = key;
 }
 internal IncrementOperation(ServerPool pool, string key, uint amount)
     : base(pool, key)
 {
     this.amount = amount;
 }
 public MultiGetOperation(ServerPool pool, IEnumerable<string> keys)
     : base(pool)
 {
     this.keys = keys;
 }
Пример #14
0
 public MultiGetOperation(ServerPool pool, IEnumerable <string> keys)
     : base(pool)
 {
     this.keys = keys;
 }
 internal DeleteOperation(ServerPool pool, string key)
     : base(pool, key)
 {
 }
Пример #16
0
 internal DeleteOperation(ServerPool pool, string key)
     : base(pool, key)
 {
 }
Пример #17
0
 public StatsOperation(ServerPool pool)
     : base(pool)
 {
 }
Пример #18
0
		public FlushOperation(ServerPool pool) : base(pool) { }
Пример #19
0
 protected ItemOperation(ServerPool pool, string key)
     : base(pool)
 {
     this.key = key;
 }