aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-01-23 20:38:44 +0000
committerJustin Clarke Casey2009-01-23 20:38:44 +0000
commitdbd2b4523319758c8c0e093a89be8bcb9b2e4ee1 (patch)
tree2dea0b57cbb6ffacf263c81d4689777753e2746b /OpenSim/Framework/Communications
parentThank you kindly, TLaukkan (Tommil) for a patch that: (diff)
downloadopensim-SC_OLD-dbd2b4523319758c8c0e093a89be8bcb9b2e4ee1.zip
opensim-SC_OLD-dbd2b4523319758c8c0e093a89be8bcb9b2e4ee1.tar.gz
opensim-SC_OLD-dbd2b4523319758c8c0e093a89be8bcb9b2e4ee1.tar.bz2
opensim-SC_OLD-dbd2b4523319758c8c0e093a89be8bcb9b2e4ee1.tar.xz
* Write a simple archive loading test which doesn't actually do any testing yet apart from not blow up
Diffstat (limited to 'OpenSim/Framework/Communications')
-rw-r--r--OpenSim/Framework/Communications/Cache/AssetCache.cs10
1 files changed, 3 insertions, 7 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs
index 436f175..653597b 100644
--- a/OpenSim/Framework/Communications/Cache/AssetCache.cs
+++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs
@@ -41,16 +41,12 @@ namespace OpenSim.Framework.Communications.Cache
41 41
42 /// <summary> 42 /// <summary>
43 /// Manages local cache of assets and their sending to viewers. 43 /// Manages local cache of assets and their sending to viewers.
44 /// 44 /// </summary>
45 ///
45 /// This class actually encapsulates two largely separate mechanisms. One mechanism fetches assets either 46 /// This class actually encapsulates two largely separate mechanisms. One mechanism fetches assets either
46 /// synchronously or async and passes the data back to the requester. The second mechanism fetches assets and 47 /// synchronously or async and passes the data back to the requester. The second mechanism fetches assets and
47 /// sends packetised data directly back to the client. The only point where they meet is AssetReceived() and 48 /// sends packetised data directly back to the client. The only point where they meet is AssetReceived() and
48 /// AssetNotFound(), which means they do share the same asset and texture caches. 49 /// AssetNotFound(), which means they do share the same asset and texture caches.I agr
49 ///
50 /// TODO: Assets in this cache are effectively immortal (they are never disposed of through old age).
51 /// This is not a huge problem at the moment since other memory use usually dwarfs that used by assets
52 /// but it's something to bear in mind.
53 /// </summary>
54 public class AssetCache : IAssetReceiver 50 public class AssetCache : IAssetReceiver
55 { 51 {
56 protected ICache m_memcache = new SimpleMemoryCache(); 52 protected ICache m_memcache = new SimpleMemoryCache();