KinoSearch::Store::LocUser(Contributed Perl DocumKinoSearch::Store::LockErr(3)NAMEKinoSearch::Store::LockErr - Lock exception.
SYNOPSIS
while (1) {
my $bg_merger = eval {
KinoSearch::Index::BackgroundMerger->new( index => $index );
};
if ( blessed($@) and $@->isa("KinoSearch::Store::LockErr") ) {
warn "Retrying...\n";
}
elsif (!$bg_merger) {
# Re-throw.
die "Failed to open BackgroundMerger: $@";
}
...
}
DESCRIPTION
LockErr is a subclass of Err which indicates that a file locking
problem occurred.
INHERITANCEKinoSearch::Store::LockErr isa KinoSearch::Object::Err isa
KinoSearch::Object::Obj.
COPYRIGHT AND LICENSE
Copyright 2005-2010 Marvin Humphrey
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
perl v5.14.1 2011-06-20 KinoSearch::Store::LockErr(3)