line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Apache::Session::Memcached; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
16479
|
use strict; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
75
|
|
4
|
2
|
|
|
2
|
|
12
|
use vars qw($VERSION); |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
120
|
|
5
|
|
|
|
|
|
|
$VERSION = '0.03'; |
6
|
|
|
|
|
|
|
|
7
|
2
|
|
|
2
|
|
11
|
use base qw(Apache::Session); |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
10094
|
|
8
|
|
|
|
|
|
|
|
9
|
2
|
|
|
2
|
|
10693
|
use Apache::Session::Generate::MD5; |
|
2
|
|
|
|
|
1820
|
|
|
2
|
|
|
|
|
70
|
|
10
|
2
|
|
|
2
|
|
2057
|
use Apache::Session::Lock::Null; |
|
2
|
|
|
|
|
4331
|
|
|
2
|
|
|
|
|
62
|
|
11
|
2
|
|
|
2
|
|
5605
|
use Apache::Session::Serialize::Storable; |
|
2
|
|
|
|
|
23383
|
|
|
2
|
|
|
|
|
1295
|
|
12
|
2
|
|
|
2
|
|
6081
|
use Apache::Session::Store::Memcached; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub populate { |
15
|
|
|
|
|
|
|
my $self = shift; |
16
|
|
|
|
|
|
|
$self->{object_store} = Apache::Session::Store::Memcached->new($self); |
17
|
|
|
|
|
|
|
$self->{lock_manager} = Apache::Session::Lock::Null->new($self); |
18
|
|
|
|
|
|
|
$self->{generate} = \&Apache::Session::Generate::MD5::generate; |
19
|
|
|
|
|
|
|
$self->{validate} = \&Apache::Session::Generate::MD5::validate; |
20
|
|
|
|
|
|
|
$self->{serialize} = \&Apache::Session::Serialize::Storable::serialize; |
21
|
|
|
|
|
|
|
$self->{unserialize} = \&Apache::Session::Serialize::Storable::unserialize; |
22
|
|
|
|
|
|
|
return $self; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
__END__ |