Commit Graph
8 Commits
Author SHA1 Message Date
Marek Habersack 920a298158 2010-04-26 Marek Habersack <[email protected]>
* MemoryCacheTest.cs: added tests for LRU removal of entries.

2010-04-26  Marek Habersack  <[email protected]>

	* MemoryCacheLRU.cs: added

	* MemoryCacheContainer.cs: added LRU entry cache.

	* MemoryCache.cs: added option to emulate one CPU on SMP machines
	(for testing purposes) - "__MonoEmulateOneCPU"

svn path=/trunk/mcs/; revision=156125
2010-04-26 19:39:32 +00:00
Marek Habersack 972273ea96 2010-04-24 Marek Habersack <[email protected]>
* MemoryCacheTest.cs, ObjectCacheTest.cs: added

	* HostFileChangeMonitorTest.cs: added more tests.

2010-04-24  Marek Habersack  <[email protected]>

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

2010-04-24  Marek Habersack  <[email protected]>

	* 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  <[email protected]>

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

svn path=/trunk/mcs/; revision=156032
2010-04-23 23:54:57 +00:00
Marek Habersack df45652907 WIP: host file watching
svn path=/trunk/mcs/; revision=154946
2010-04-07 13:13:54 +00:00
Marek Habersack 7a8e2dc73e WIP: System.Runtime.Caching.Hosting added
svn path=/trunk/mcs/; revision=154945
2010-04-07 13:13:46 +00:00
Marek Habersack 6fb7e60a2a System.Runtime.Caching.Configuration stuff implemented
svn path=/trunk/mcs/; revision=154944
2010-04-07 13:13:38 +00:00
Marek Habersack 4d85da83fc All System.Runtime.Caching namespace classes added + partial implementation
svn path=/trunk/mcs/; revision=154943
2010-04-07 13:13:30 +00:00
Marek Habersack 8e76009f14 ChangeMonitor implemented
svn path=/trunk/mcs/; revision=154942
2010-04-07 13:13:22 +00:00
Marek Habersack 44d44d4be1 Beginnings of System.Runtime.Caching
svn path=/trunk/mcs/; revision=154941
2010-04-07 13:13:03 +00:00