This project is read-only.

Project Description

The ThreadSafe.Caching library is a light weight version of the Microsoft application block caching library.

Developed in C#

Project Summary

Allow you to cache serializable objects in memory. Light weight and easy to implement. Scavenge will occur every 30 seconds
  • Get/Add/Remove are O(1) operations
  • The library is thread safe


This is the main class used by the cache.
  • void Add(string key, object value)
  • void Add(string key, object value, DateTime expiryDate)
  • object GetData(string key)
  • void Remove(string key)
  • int RemoveAll()
  • bool ContainsKey(string key)
  • long Size
  • int Count

Last edited Mar 10, 2010 at 10:20 AM by MetalBarbie, version 29