| 1 | package DBIO::Replicated::Backend::Replicant; | ||||||||||
| 2 | # ABSTRACT: Replicant backend wrapper | ||||||||||
| 3 | |||||||||||
| 4 | 12 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 12 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | 12 | our $VERSION = '0.900007'; | |||||||||
| 8 | |||||||||||
| 9 | 12 | ▶ | use base 'DBIO::Replicated::Backend'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | |||||||||||
| 11 | |||||||||||
| 12 | 49 | ▶ | sub new { | ||||||||
|
Subroutine
new: called CC=2 SCAR=7.0
Pod
documented
| |||||||||||
| 13 | 49 | my ($class, %args) = @_; | |||||||||
| 14 | 49 | $args{kind} = 'replicant'; | |||||||||
| 15 | 49 | ▶ | $args{active} = 1 unless exists $args{active}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 16 | 49 | return $class->SUPER::new(%args); | |||||||||
| 17 | } | ||||||||||
| 18 | |||||||||||
| 19 | |||||||||||
| 20 | 1 | ▶ | sub debugobj { | ||||||||
|
Subroutine
debugobj: called CC=2 SCAR=7.1
Pod
documented
| |||||||||||
| 21 | 1 | my $self = shift; | |||||||||
| 22 | 1 | ▶ | return $self->master->debugobj(@_) if $self->master; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 23 | 1 | return $self->SUPER::debugobj(@_); | |||||||||
| 24 | } | ||||||||||
| 25 | |||||||||||
| 26 | 12 | 1; | |||||||||
| 27 | |||||||||||
| 28 | __END__ | ||||||||||