2010-04-24 Marek Habersack <mhabersack@novell.com>
authorMarek Habersack <grendel@twistedcode.net>
Fri, 23 Apr 2010 23:54:57 +0000 (23:54 -0000)
committerMarek Habersack <grendel@twistedcode.net>
Fri, 23 Apr 2010 23:54:57 +0000 (23:54 -0000)
commit972273ea96373d10bb098d4f9888ffa6ed49adaf
treea97d57f763b18f2e2e2b9af766d58b162aebf4b9
parent544f0c3cc12d428cc5da0dd08fa8d8e9a1e62154
parentfeffd90d261f8fcbdba7b162b88b3fcf9794a6a5
2010-04-24  Marek Habersack  <mhabersack@novell.com>

* MemoryCacheTest.cs, ObjectCacheTest.cs: added

* HostFileChangeMonitorTest.cs: added more tests.

2010-04-24  Marek Habersack  <mhabersack@novell.com>

* AppDomainTools.cs, AssertExtensions.cs, PokerChangeMonitor.cs,
PokerMemoryCache.cs, PokerObjectCache.cs,
TestNotificationSystem.cs: added

2010-04-24  Marek Habersack  <mhabersack@novell.com>

* ObjectCache.cs: implemented all the non-abstract methods.

* MemoryCacheContainer.cs, MemoryCacheEntry.cs,
MemoryCacheEntryChangeMonitor.cs,
MemoryCacheEntryPriorityQueue.cs,
MemoryCachePerformanceCounters.cs: added

* MemoryCache.cs: implemented physical memory size detection, item
expiration timer, indexer, reading of configuration values from
config files, cache memory limit calculation, the
AddOrGetExisting, Set, Get, Contains,
CreateCacheEntryChangeMonitor, Dispose, GetCacheItem, GetCount,
GetEnumerator, GetValues, Remove and Trim methods.
Implemented support for per-cpu item containers.
Modified parameters of several methods to match .NET 4.0 release.

* HostFileChangeMonitor.cs: implemented according to tests.

* Helpers.cs: added new properties, StringComparer and Is64bit

* FileChangeNotificationSystemEntry.cs: added

* FileChangeNotificationSystem.cs: implemented

* ChangeMonitor.cs: NotifyOnChanged now properly throws an
exception if it was called more than once.

* CacheEntryRemovedReason.cs: renamed from
CacheEntryRemoveReason.cs

* CacheEntryChangeMonitor.cs: renamed from CacheEntryMonitor.cs

2010-04-24  Marek Habersack  <mhabersack@novell.com>

* MemoryCacheSettingsCollection.cs: added and implemented methods
which appeared in .NET 4.0 final.

svn path=/trunk/mcs/; revision=156032
35 files changed:
mcs/class/System.Runtime.Caching/Assembly/AssemblyInfo.cs
mcs/class/System.Runtime.Caching/Makefile
mcs/class/System.Runtime.Caching/System.Runtime.Caching.Configuration/ChangeLog
mcs/class/System.Runtime.Caching/System.Runtime.Caching.Configuration/MemoryCacheSettingsCollection.cs
mcs/class/System.Runtime.Caching/System.Runtime.Caching.Hosting/ChangeLog
mcs/class/System.Runtime.Caching/System.Runtime.Caching.dll.sources
mcs/class/System.Runtime.Caching/System.Runtime.Caching/CacheEntryChangeMonitor.cs
mcs/class/System.Runtime.Caching/System.Runtime.Caching/CacheEntryMonitor.cs
mcs/class/System.Runtime.Caching/System.Runtime.Caching/CacheEntryRemoveReason.cs
mcs/class/System.Runtime.Caching/System.Runtime.Caching/CacheEntryRemovedReason.cs
mcs/class/System.Runtime.Caching/System.Runtime.Caching/ChangeLog
mcs/class/System.Runtime.Caching/System.Runtime.Caching/ChangeMonitor.cs
mcs/class/System.Runtime.Caching/System.Runtime.Caching/FileChangeNotificationSystem.cs
mcs/class/System.Runtime.Caching/System.Runtime.Caching/FileChangeNotificationSystemEntry.cs
mcs/class/System.Runtime.Caching/System.Runtime.Caching/Helpers.cs
mcs/class/System.Runtime.Caching/System.Runtime.Caching/HostFileChangeMonitor.cs
mcs/class/System.Runtime.Caching/System.Runtime.Caching/MemoryCache.cs
mcs/class/System.Runtime.Caching/System.Runtime.Caching/MemoryCacheContainer.cs
mcs/class/System.Runtime.Caching/System.Runtime.Caching/MemoryCacheEntry.cs
mcs/class/System.Runtime.Caching/System.Runtime.Caching/MemoryCacheEntryChangeMonitor.cs
mcs/class/System.Runtime.Caching/System.Runtime.Caching/MemoryCacheEntryPriorityQueue.cs
mcs/class/System.Runtime.Caching/System.Runtime.Caching/MemoryCachePerformanceCounters.cs
mcs/class/System.Runtime.Caching/System.Runtime.Caching/ObjectCache.cs
mcs/class/System.Runtime.Caching/System.Runtime.Caching_test.dll.sources
mcs/class/System.Runtime.Caching/Test/Common/AppDomainTools.cs
mcs/class/System.Runtime.Caching/Test/Common/AssertExtensions.cs
mcs/class/System.Runtime.Caching/Test/Common/ChangeLog
mcs/class/System.Runtime.Caching/Test/Common/PokerChangeMonitor.cs
mcs/class/System.Runtime.Caching/Test/Common/PokerMemoryCache.cs
mcs/class/System.Runtime.Caching/Test/Common/PokerObjectCache.cs
mcs/class/System.Runtime.Caching/Test/Common/TestNotificationSystem.cs
mcs/class/System.Runtime.Caching/Test/System.Runtime.Caching/ChangeLog
mcs/class/System.Runtime.Caching/Test/System.Runtime.Caching/HostFileChangeMonitorTest.cs
mcs/class/System.Runtime.Caching/Test/System.Runtime.Caching/MemoryCacheTest.cs
mcs/class/System.Runtime.Caching/Test/System.Runtime.Caching/ObjectCacheTest.cs