KinoSearch::Store::LockErr - Lock exception.
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: $@"; } ... }
LockErr is a subclass of Err which indicates that a file locking problem occurred.
KinoSearch::Store::LockErr isa KinoSearch::Object::Err isa KinoSearch::Object::Obj.
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.
To install KSx::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm KSx::Simple
CPAN shell
perl -MCPAN -e shell install KSx::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.