I just looked at SqlBagOStuff. It already has entry
expiration logic.
So, it seems perfect for use by the switch-in/clean-up functionality.
I spoke too soon. Expired entries are deleted automatically when any
entry is referenced. Unfortunately, that means there is no opportunity to
reclaim the temporary resources identified in the entry before its state
is lost. This is a problem.
--
-- Dan Nessett