From d381da81d6bf57f05dd3f3430de6c8c936932292 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Sat, 18 Jan 2014 00:15:38 +0000
Subject: minor: Add method doc to IImproveAssetCache
---
OpenSim/Framework/IImprovedAssetCache.cs | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
(limited to 'OpenSim')
diff --git a/OpenSim/Framework/IImprovedAssetCache.cs b/OpenSim/Framework/IImprovedAssetCache.cs
index a0b8b55..a853e90 100644
--- a/OpenSim/Framework/IImprovedAssetCache.cs
+++ b/OpenSim/Framework/IImprovedAssetCache.cs
@@ -31,10 +31,34 @@ namespace OpenSim.Framework
{
public interface IImprovedAssetCache
{
+ ///
+ /// Cache the specified asset.
+ ///
+ ///
void Cache(AssetBase asset);
+
+ ///
+ /// Get an asset by its id.
+ ///
+ ///
+ /// null if the asset does not exist.
AssetBase Get(string id);
+
+ ///
+ /// Check whether an asset with the specified id exists in the cache.
+ ///
+ ///
bool Check(string id);
+
+ ///
+ /// Expire an asset from the cache.
+ ///
+ ///
void Expire(string id);
+
+ ///
+ /// Clear the cache.
+ ///
void Clear();
}
-}
+}
\ No newline at end of file
--
cgit v1.1