diff options
author | Justin Clark-Casey (justincc) | 2014-01-18 00:15:38 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-01-18 00:15:38 +0000 |
commit | d381da81d6bf57f05dd3f3430de6c8c936932292 (patch) | |
tree | 11ae80200f9a0add2b2d89022ebc16412f570235 /OpenSim | |
parent | Elminate some copy/paste in FlotsamAssetCache.CheckFromFileCache() and use us... (diff) | |
download | opensim-SC-d381da81d6bf57f05dd3f3430de6c8c936932292.zip opensim-SC-d381da81d6bf57f05dd3f3430de6c8c936932292.tar.gz opensim-SC-d381da81d6bf57f05dd3f3430de6c8c936932292.tar.bz2 opensim-SC-d381da81d6bf57f05dd3f3430de6c8c936932292.tar.xz |
minor: Add method doc to IImproveAssetCache
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Framework/IImprovedAssetCache.cs | 26 |
1 files changed, 25 insertions, 1 deletions
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 | |||
31 | { | 31 | { |
32 | public interface IImprovedAssetCache | 32 | public interface IImprovedAssetCache |
33 | { | 33 | { |
34 | /// <summary> | ||
35 | /// Cache the specified asset. | ||
36 | /// </summary> | ||
37 | /// <param name='asset'></param> | ||
34 | void Cache(AssetBase asset); | 38 | void Cache(AssetBase asset); |
39 | |||
40 | /// <summary> | ||
41 | /// Get an asset by its id. | ||
42 | /// </summary> | ||
43 | /// <param name='id'></param> | ||
44 | /// <returns>null if the asset does not exist.</returns> | ||
35 | AssetBase Get(string id); | 45 | AssetBase Get(string id); |
46 | |||
47 | /// <summary> | ||
48 | /// Check whether an asset with the specified id exists in the cache. | ||
49 | /// </summary> | ||
50 | /// <param name='id'></param> | ||
36 | bool Check(string id); | 51 | bool Check(string id); |
52 | |||
53 | /// <summary> | ||
54 | /// Expire an asset from the cache. | ||
55 | /// </summary> | ||
56 | /// <param name='id'></param> | ||
37 | void Expire(string id); | 57 | void Expire(string id); |
58 | |||
59 | /// <summary> | ||
60 | /// Clear the cache. | ||
61 | /// </summary> | ||
38 | void Clear(); | 62 | void Clear(); |
39 | } | 63 | } |
40 | } | 64 | } \ No newline at end of file |