|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES All Classes |
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. |
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.
|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES All Classes |