Package net.walend.lyophil.soft

This package contains an implementation of Freezer that caches Freezables inside a SoftHashMap after they are called out of an authoritive Freezer.

See:
          Description

Class Summary
SoftFreezer This Freezer caches Freezables in a SoftMemSet as it draws them in from an authoritive Freezer.
SoftMemSet This class implements MutableSetOfFreezables on top of a SoftHashMap.
 

Package net.walend.lyophil.soft Description

This package contains an implementation of Freezer that caches Freezables inside a SoftHashMap after they are called out of an authoritive Freezer. Calls to freeze() update both the cache and the authoritive Freezer. Calls to thaw() first check the cache, and only call the Freezer if they need to.

The architecure for the cach replaces the MutableHashMap inside MemSet with a SoftHashMap.

Plans for this project include adding a worker thread to make sure the cache stays up-to-date.



Copyright (c) 2000, 2001, David Walend