55 Commits

Author SHA1 Message Date
gordon%netscape.com
b99a60e359 Changed 'getters' on nsCacheEntry to simply return values, rather than require out parameters.
Added a PRCList member and accessors for linking entries on eviction and doom lists.

Moved check for IsStreamBased() from nsCacheEntry::GetData() to nsCacheEntryDescriptor::GetData(), to allow cache devices to set the mData member.

Added checks to nsCacheEntryDescriptor methods to return NS_ERROR_NOT_AVAILABLE if the descriptor is already closed.


git-svn-id: svn://10.0.0.236/trunk@88133 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 00:06:13 +00:00
gordon%netscape.com
8b61a442bc Changed GetKey() to return key as return value, rather than out parameter. Added flag predicates for storage policy.
git-svn-id: svn://10.0.0.236/trunk@88063 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 05:35:53 +00:00
gordon%netscape.com
97665f1086 Begin implementing eviction of memory cache entries.
git-svn-id: svn://10.0.0.236/trunk@87985 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 14:57:40 +00:00
gordon%netscape.com
c1cbcd4c4c Updated new cache source to build with recent changes to interface files. These files are not part of the build. r=beard, darin.
git-svn-id: svn://10.0.0.236/trunk@87862 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 01:02:37 +00:00
gordon%netscape.com
cfbd099fb3 Rough first cut of cache service and memory object cache. It currently builds on linux.
git-svn-id: svn://10.0.0.236/trunk@87809 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 13:18:01 +00:00