File Coverage

blib/lib/Apache/Session/Lock/MariaDB.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Apache::Session::Lock::MariaDB;
2              
3 1     1   6 use strict;
  1         2  
  1         30  
4 1     1   3 use warnings;
  1         2  
  1         52  
5              
6 1     1   4 use base 'Apache::Session::Lock::MySQL';
  1         1  
  1         504  
7              
8             1;
9              
10             =pod
11              
12             =head1 NAME
13              
14             Apache::Session::Lock::MariaDB - Provides mutual exclusion using MariaDB
15              
16             =head1 SYNOPSIS
17              
18             use Apache::Session::Lock::MariaDB;
19              
20             my $locker = Apache::Session::Lock::MariaDB->new();
21              
22             $locker->acquire_read_lock($ref);
23             $locker->acquire_write_lock($ref);
24             $locker->release_read_lock($ref);
25             $locker->release_write_lock($ref);
26             $locker->release_all_locks($ref);
27              
28             =head1 DESCRIPTION
29              
30             This is based on L but for
31             L.
32              
33             =head1 AUTHOR
34              
35             Best Practical Solutions, LLC Emodules@bestpractical.comE
36              
37             =head1 SEE ALSO
38              
39             L, L