1Lucy::Store::LockErr(3)User Contributed Perl DocumentatioLnucy::Store::LockErr(3)
2
3
4

NAME

6       Lucy::Store::LockErr - Lock exception.
7

SYNOPSIS

9           while (1) {
10               my $bg_merger = eval {
11                   Lucy::Index::BackgroundMerger->new( index => $index );
12               };
13               if ( blessed($@) and $@->isa("Lucy::Store::LockErr") ) {
14                   warn "Retrying...\n";
15               }
16               elsif (!$bg_merger) {
17                   # Re-throw.
18                   die "Failed to open BackgroundMerger: $@";
19               }
20               ...
21           }
22

DESCRIPTION

24       LockErr is a subclass of Err which indicates that a file locking
25       problem occurred.
26

INHERITANCE

28       Lucy::Store::LockErr isa Clownfish::Err isa Clownfish::Obj.
29
30
31
32perl v5.28.0                      2018-07-14           Lucy::Store::LockErr(3)
Impressum