
KinoSearch::Store::LockErr - Lock exception.

The KinoSearch code base has been assimilated by the Apache Lucy project. The "KinoSearch" namespace has been deprecated, but development continues under our new name at our new home: http://lucy.apache.org/

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-2011 Marvin Humphrey
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.