Mail::Box::Locker::NFS
lock a folder with a separate file, NFS-safe
- Provided by: libmail-box-perl (Version: 2.118-1)
- Report a bug
lock a folder with a separate file, NFS-safe
Mail::Box::Locker::NFS is a Mail::Box::Locker is a Mail::Reporter
See Mail::Box::Locker
Like the "::DotLock" locker, but then in an NFS-safe fashion. Over NFS, the creation of a file is not atomic. The "::DotLock" locker depends on an atomic "open" system call, hence in not usable to lock a folder which accessed over NFS. The "::NFS" locker is therefore more complicated (so therefore slower), but will work for NFS --and for local disks as well.
Extends "DESCRIPTION" in Mail::Box::Locker.
Extends "METHODS" in Mail::Box::Locker.
Extends "Constructors" in Mail::Box::Locker.
-Option --Defined in --Default
expires Mail::Box::Locker 1 hour
file Mail::Box::Locker undef
folder Mail::Box::Locker <undef>
log Mail::Reporter 'WARNINGS'
method Mail::Box::Locker 'NFS'
timeout Mail::Box::Locker 10 seconds
trace Mail::Reporter 'WARNINGS'
Extends "The Locker" in Mail::Box::Locker.
Extends "Locking" in Mail::Box::Locker.
Extends "Error handling" in Mail::Box::Locker.
Extends "Cleanup" in Mail::Box::Locker.
This module is part of Mail-Box distribution version 2.118, built on February 26, 2015. Website: http://perl.overmeer.net/mailbox/
Copyrights 2001-2015 by [Mark Overmeer]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html