|
1 | 1 |
|
2 | 2 | namespace Enyim.Caching.Memcached
|
3 | 3 | {
|
4 |
| - /// <summary> |
5 |
| - /// Inidicates the mode how the items are stored in Memcached. |
6 |
| - /// </summary> |
7 |
| - public enum StoreMode |
8 |
| - { |
9 |
| - /// <summary> |
10 |
| - /// Store the data, but only if the server does not already hold data for a given key |
11 |
| - /// </summary> |
12 |
| - Add = 1, |
13 |
| - /// <summary> |
14 |
| - /// Store the data, but only if the server does already hold data for a given key |
15 |
| - /// </summary> |
16 |
| - Replace, |
17 |
| - /// <summary> |
18 |
| - /// Store the data, overwrite if already exist |
19 |
| - /// </summary> |
20 |
| - Set |
21 |
| - }; |
| 4 | + /// <summary> |
| 5 | + /// Inidicates the mode how the items are stored in Memcached. |
| 6 | + /// </summary> |
| 7 | + public enum StoreMode |
| 8 | + { |
| 9 | + /// <summary> |
| 10 | + /// Store the data, but only if the server does not already hold data for a given key |
| 11 | + /// </summary> |
| 12 | + Add = 1, |
| 13 | + /// <summary> |
| 14 | + /// Store the data, but only if the server does already hold data for a given key |
| 15 | + /// </summary> |
| 16 | + Replace, |
| 17 | + /// <summary> |
| 18 | + /// Store the data, overwrite if already exist |
| 19 | + /// </summary> |
| 20 | + Set |
| 21 | + }; |
22 | 22 |
|
23 |
| - internal enum StoreCommand |
24 |
| - { |
25 |
| - /// <summary> |
26 |
| - /// Store the data, but only if the server does not already hold data for a given key |
27 |
| - /// </summary> |
28 |
| - Add = 1, |
29 |
| - /// <summary> |
30 |
| - /// Store the data, but only if the server does already hold data for a given key |
31 |
| - /// </summary> |
32 |
| - Replace, |
33 |
| - /// <summary> |
34 |
| - /// Store the data, overwrite if already exist |
35 |
| - /// </summary> |
36 |
| - Set, |
37 |
| - /// <summary> |
38 |
| - /// Appends the data to an existing key's data |
39 |
| - /// </summary> |
40 |
| - Append, |
41 |
| - /// <summary> |
42 |
| - /// Inserts the data before an existing key's data |
43 |
| - /// </summary> |
44 |
| - Prepend, |
45 |
| - /// <summary> |
46 |
| - /// Stores the data only if it has not been updated by someone else. Uses a "transaction id" to check for modification. |
47 |
| - /// </summary> |
48 |
| - CheckAndSet |
49 |
| - }; |
| 23 | + internal enum StoreCommand |
| 24 | + { |
| 25 | + /// <summary> |
| 26 | + /// Store the data, but only if the server does not already hold data for a given key |
| 27 | + /// </summary> |
| 28 | + Add = 1, |
| 29 | + /// <summary> |
| 30 | + /// Store the data, but only if the server does already hold data for a given key |
| 31 | + /// </summary> |
| 32 | + Replace, |
| 33 | + /// <summary> |
| 34 | + /// Store the data, overwrite if already exist |
| 35 | + /// </summary> |
| 36 | + Set, |
| 37 | + /// <summary> |
| 38 | + /// Appends the data to an existing key's data |
| 39 | + /// </summary> |
| 40 | + Append, |
| 41 | + /// <summary> |
| 42 | + /// Inserts the data before an existing key's data |
| 43 | + /// </summary> |
| 44 | + Prepend, |
| 45 | + /// <summary> |
| 46 | + /// Stores the data only if it has not been updated by someone else. Uses a "transaction id" to check for modification. |
| 47 | + /// </summary> |
| 48 | + CheckAndSet |
| 49 | + }; |
50 | 50 | }
|
51 | 51 |
|
52 | 52 | #region [ License information ]
|
53 | 53 | /* ************************************************************
|
54 | 54 | *
|
55 |
| - * Copyright (c) 2010 Attila Kiskó, enyim.com |
| 55 | + * Copyright (c) 2010 Attila Kisk? enyim.com |
56 | 56 | *
|
57 | 57 | * Licensed under the Apache License, Version 2.0 (the "License");
|
58 | 58 | * you may not use this file except in compliance with the License.
|
|
0 commit comments