aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/CnmMemoryCache.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/CnmMemoryCache.cs')
-rw-r--r--OpenSim/Framework/CnmMemoryCache.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Framework/CnmMemoryCache.cs b/OpenSim/Framework/CnmMemoryCache.cs
index 05a71cf..80b7283 100644
--- a/OpenSim/Framework/CnmMemoryCache.cs
+++ b/OpenSim/Framework/CnmMemoryCache.cs
@@ -68,6 +68,8 @@ namespace OpenSim.Framework
68 /// <seealso cref="MaxSize"/> 68 /// <seealso cref="MaxSize"/>
69 public const long DefaultMaxSize = 134217728; 69 public const long DefaultMaxSize = 134217728;
70 70
71 public long _MaxElementSize;
72
71 /// <summary> 73 /// <summary>
72 /// How many operations between time checks. 74 /// How many operations between time checks.
73 /// </summary> 75 /// </summary>
@@ -1471,7 +1473,12 @@ namespace OpenSim.Framework
1471 /// <seealso cref="ICnmCache{TKey,TValue}.IsSizeLimited"/> 1473 /// <seealso cref="ICnmCache{TKey,TValue}.IsSizeLimited"/>
1472 /// <seealso cref="ICnmCache{TKey,TValue}.Size"/> 1474 /// <seealso cref="ICnmCache{TKey,TValue}.Size"/>
1473 /// <seealso cref="ICnmCache{TKey,TValue}.MaxSize"/> 1475 /// <seealso cref="ICnmCache{TKey,TValue}.MaxSize"/>
1474 public long MaxElementSize { get; private set; } 1476 public long MaxElementSize
1477 {
1478 get { return _MaxElementSize; }
1479
1480 private set { _MaxElementSize = value; }
1481 }
1475 1482
1476 /// <summary> 1483 /// <summary>
1477 /// Gets or sets maximal allowed total size for elements stored to <see cref="ICnmCache{TKey,TValue}"/>. 1484 /// Gets or sets maximal allowed total size for elements stored to <see cref="ICnmCache{TKey,TValue}"/>.