Esempio n. 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);
        }
Esempio n. 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;
        }
Esempio n. 4
0
 public StatsOperation(ServerPool pool) : base(pool)
 {
 }
Esempio n. 5
0
 protected Operation(ServerPool serverPool)
 {
     this.serverPool = serverPool;
 }
Esempio n. 6
0
		internal IncrementOperation(ServerPool pool, string key, uint amount)
			: base(pool, key)
		{
			this.amount = amount;
		}
 public FlushOperation(ServerPool pool) : base(pool)
 {
 }
Esempio n. 8
0
 internal GetOperation(ServerPool pool, string key)
     : base(pool, key)
 {
 }
Esempio n. 9
0
		protected Operation(ServerPool serverPool)
		{
			this.serverPool = serverPool;
		}
Esempio n. 10
0
		internal GetOperation(ServerPool pool, string key)
			: base(pool, key)
		{
		}
Esempio n. 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;
 }
Esempio n. 14
0
 public MultiGetOperation(ServerPool pool, IEnumerable <string> keys)
     : base(pool)
 {
     this.keys = keys;
 }
 internal DeleteOperation(ServerPool pool, string key)
     : base(pool, key)
 {
 }
Esempio n. 16
0
 internal DeleteOperation(ServerPool pool, string key)
     : base(pool, key)
 {
 }
Esempio n. 17
0
 public StatsOperation(ServerPool pool)
     : base(pool)
 {
 }
Esempio n. 18
0
		public FlushOperation(ServerPool pool) : base(pool) { }
Esempio n. 19
0
 protected ItemOperation(ServerPool pool, string key)
     : base(pool)
 {
     this.key = key;
 }