Remove Class::Data::Inheritable and use CAG 'inherited' style accessors
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / CDBICompat / NoObjectIndex.pm
1 package # hide from PAUSE
2     DBIx::Class::CDBICompat::NoObjectIndex;
3
4 use strict;
5 use warnings;
6
7 use base 'DBIx::Class';
8
9 =head1 NAME
10
11 DBIx::Class::CDBICompat::NoObjectIndex - Defines empty methods for object indexing. They do nothing
12
13 =head1 SYNOPSIS
14
15     Part of CDBICompat
16
17 =head1 DESCRIPTION
18
19 Defines empty methods for object indexing.  They do nothing.
20
21 Using NoObjectIndex instead of LiveObjectIndex and nocache(1) is a little
22 faster because it removes code from the object insert and retrieve chains.
23
24 =cut
25
26 sub nocache { return 1 }
27
28 sub purge_object_index_every {}
29
30 sub purge_dead_from_object_index {}
31
32 sub remove_from_object_index {}
33
34 sub clear_object_index {}
35
36 =head1 FURTHER QUESTIONS?
37
38 Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
39
40 =head1 COPYRIGHT AND LICENSE
41
42 This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
43 by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
44 redistribute it and/or modify it under the same terms as the
45 L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
46
47 =cut
48
49 1;