2009.02.02.1

Rating: No reviews yet
Downloads: 26
Released: Feb 2, 2009
Updated: Feb 2, 2009 by MetalBarbie
Dev status: Alpha Help Icon

Recommended Download

Source Code ObjectCache.cs
source code, 19K, uploaded Feb 2, 2009 - 26 downloads

Release Notes

  • More additions made to ensure thread safety
  • Truncate method added to allow sizing the cache by consecutively removing the oldest object
  • Cache will automatically truncate to its initial capacity when max quotinet is reached. Default capacity is 65536 items with a growth rate of 10% and maximum quotinent of 2 (131072 items)
  • A new overload of RegisterObjectInGlobal(object pUnk, DateTime expiryDate) added.

CAUTION

The new overload of RegisterObjectInGlobal will allow you to add unremovable objects. If Truncate is performed and target size is not acheived when only these objects are left in the cache, you will get stuck in an infinitive loop. This will be fixed in the next release.

Reviews for this release

No reviews yet for this release.