diff options
author | Melanie Thielker | 2009-05-10 14:03:06 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-05-10 14:03:06 +0000 |
commit | 1a910b6e1dbace70b27581c51148a8732b46de79 (patch) | |
tree | c13e58aa932b0db95ca895cd0ff1275c0014ca9f /OpenSim/Framework/Cache.cs | |
parent | Add some asset cache plumbing. Change the generic cache from UUID to string (diff) | |
download | opensim-SC-1a910b6e1dbace70b27581c51148a8732b46de79.zip opensim-SC-1a910b6e1dbace70b27581c51148a8732b46de79.tar.gz opensim-SC-1a910b6e1dbace70b27581c51148a8732b46de79.tar.bz2 opensim-SC-1a910b6e1dbace70b27581c51148a8732b46de79.tar.xz |
Connect up the new asset cache and introduce an asynchronous call path
for asset retrieval (full asset only) to ease migration to the new system
Diffstat (limited to 'OpenSim/Framework/Cache.cs')
-rw-r--r-- | OpenSim/Framework/Cache.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Framework/Cache.cs b/OpenSim/Framework/Cache.cs index 2d49146..79e20fc 100644 --- a/OpenSim/Framework/Cache.cs +++ b/OpenSim/Framework/Cache.cs | |||
@@ -529,5 +529,11 @@ namespace OpenSim.Framework | |||
529 | m_Lookup.Remove(uuid); | 529 | m_Lookup.Remove(uuid); |
530 | m_Index.Remove(item); | 530 | m_Index.Remove(item); |
531 | } | 531 | } |
532 | |||
533 | public void Clear() | ||
534 | { | ||
535 | m_Index.Clear(); | ||
536 | m_Lookup.Clear(); | ||
537 | } | ||
532 | } | 538 | } |
533 | } | 539 | } |