Joshua Nathaniel Pritikin > ObjStore-1.59 > ObjStore::Mortician

Download:
ObjStore-1.59.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.04   Source  

NAME ^

ObjStore::Mortician - Delay Physical Destruction of Persistent Objects

SYNOPSIS ^

    package MySlowlyDeletedClass;
    use ObjStore::Mortician;

    #$ObjStore::Mortician::Debug = 1;   #if debugging

DESCRIPTION ^

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.

syntax highlighting: