Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 07062a3c

Von Kivitendo Admin vor mehr als 9 Jahren hinzugefügt

  • ID 07062a3cd783a813df26b97e30f1156c6a291692
  • Vorgänger e09e900d
  • Nachfolger 5357aec0

Typos in Doku

Unterschiede anzeigen:

SL/DBConnect/Cache.pm
67 67

  
68 68
=head1 SYNOPSIS
69 69

  
70
  use SL::SBConnect::Cache;
70
  use SL::DBConnect::Cache;
71 71

  
72
  my $dbh = SL::DBConnct::Cache->get(@args);
73
  SL::DBConnct::Cache->store($dbh, @args);
72
  my $dbh = SL::DBConnect::Cache->get(@args);
73
  SL::DBConnect::Cache->store($dbh, @args);
74 74

  
75 75
  # reset a cached handle
76
  SL::DBConnct::Cache->reset($dbh);
76
  SL::DBConnect::Cache->reset($dbh);
77 77

  
78 78
  # close a cached handle and forget it
79
  SL::DBConnct::Cache->close($dbh);
79
  SL::DBConnect::Cache->close($dbh);
80 80

  
81
  SL::DBConnct::Cache->clear($dbh);
81
  SL::DBConnect::Cache->clear($dbh);
82 82

  
83 83

  
84 84
=head1 DESCRIPTION
85 85

  
86
Implementes a managed cache for DB connection handles.
86
Implements a managed cache for DB connection handles.
87 87

  
88 88
The same would be possible with C<< DBI->connect_cached >>, but in that case,
89
we would have no control ver the cache.
89
we would have no control over the cache.
90 90

  
91 91
=head1 METHODS
92 92

  
......
106 106

  
107 107
=item * C<clear>
108 108

  
109
Emties the cache. If handles are not referenced otherwise, they will get
109
Empties the cache. If handles are not referenced otherwise, they will get
110 110
dropped and closed.
111 111

  
112 112
=back

Auch abrufbar als: Unified diff