1 package DBM::Deep::Sector;
6 use warnings FATAL => 'all';
11 my $self = bless $_[1], $_[0];
12 Scalar::Util::weaken( $self->{engine} );
21 return ref($self)->new({
22 engine => $self->engine,
29 sub engine { $_[0]{engine} }
30 sub offset { $_[0]{offset} }
31 sub type { $_[0]{type} }
32 sub staleness { $_[0]{staleness} }
34 sub load { die "load must be implemented in a child class" }