Take me over?
NAME
Alzabo::ObjectCache::Sync::IPC - Uses a IPC file to sync object caches
SYNOPSIS
use Alzabo::ObjectCache( store => 'Alzabo::ObjectCache::Store::Memory',
sync => 'Alzabo::ObjectCache::Sync::IPC',
clear_on_startup => 1 );
DESCRIPTION
This class implements object cache syncing between multiple processes using IPC to handle data storage. The IPC::Shareable
module which it uses handles locking issues.
In normal circumstances, the IPC segment used by this module is deleted when the process that first loaded the module ends. If the program is aborted abnormally (via an external signal) then this cleanup will probably not occur.
IMPORT PARAMETERS
clear_on_startup => $boolean
If this is true, then the IPC segment is cleared when the module is loaded. This is generally desirable as an existing segment may contain spurious entries from previous executions of the program. However, in the interests of safety, this parameter defaults to false.
AUTHOR
Dave Rolsky, <autarch@urth.org>