| ObjStore documentation | view source | Contained in the ObjStore distribution. |
ObjStore::Mortician - Delay Physical Destruction of Persistent Objects
package MySlowlyDeletedClass;
use ObjStore::Mortician;
#$ObjStore::Mortician::Debug = 1; #if debugging
This hook should not be used unless it cannot be avoided. There is a significant performance penalty compared to immediate destruction. However, one good reason to use this mechanism is to ease the syncronization constraints when multiple processes are allowed to send notifications through objects that might be deleted without anticipation or forewarning (ie. ghost objects :-).
Default delay is 60 seconds.
| ObjStore documentation | view source | Contained in the ObjStore distribution. |