Lucy::Store::LockErr - Lock exception.
while (1) { my $bg_merger = eval { Lucy::Index::BackgroundMerger->new( index => $index ); }; if ( blessed($@) and $@->isa("Lucy::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.
Lucy::Store::LockErr isa Clownfish::Err isa Clownfish::Obj.
Copyright © 2010-2015 The Apache Software Foundation, Licensed under the
Apache License, Version 2.0.
Apache Lucy, Lucy, Apache, the Apache feather logo, and the Apache Lucy project logo are trademarks of The
Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their
respective owners.