From dbd2b4523319758c8c0e093a89be8bcb9b2e4ee1 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 23 Jan 2009 20:38:44 +0000 Subject: * Write a simple archive loading test which doesn't actually do any testing yet apart from not blow up --- OpenSim/Framework/Communications/Cache/AssetCache.cs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'OpenSim/Framework/Communications') 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 /// /// Manages local cache of assets and their sending to viewers. - /// + /// + /// /// This class actually encapsulates two largely separate mechanisms. One mechanism fetches assets either /// synchronously or async and passes the data back to the requester. The second mechanism fetches assets and /// sends packetised data directly back to the client. The only point where they meet is AssetReceived() and - /// AssetNotFound(), which means they do share the same asset and texture caches. - /// - /// TODO: Assets in this cache are effectively immortal (they are never disposed of through old age). - /// This is not a huge problem at the moment since other memory use usually dwarfs that used by assets - /// but it's something to bear in mind. - /// + /// AssetNotFound(), which means they do share the same asset and texture caches.I agr public class AssetCache : IAssetReceiver { protected ICache m_memcache = new SimpleMemoryCache(); -- cgit v1.1