1Lucy::Store::LockErr(3pUms)er Contributed Perl DocumentatLiuocny::Store::LockErr(3pm)
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.38.0                      2023-07-20         Lucy::Store::LockErr(3pm)
Impressum