=for comment POD_DERIVED_INDEX_GENERATED
The following documentation is automatically generated.  Please do not edit
this file, but rather the original, inline with EntityModel::Cache
at lib/EntityModel/Cache.pm
(on the system that originally ran this).
If you do edit this file, and don't want your changes to be removed, make
sure you change the first line.

=cut

=head1 NAME

EntityModel::Cache - base class for L<EntityModel> caching support

=head1 VERSION

version 0.102

=head1 SYNOPSIS

See L<EntityModel>.

=head1 DESCRIPTION

See L<EntityModel>.

=head1 METHODS

=head2 new

Instantiate class. Currently takes no parameters.

=head2 get

Get value from the cache corresponding to the given key.

=head2 remove

Remove the given key from the cache.

=head2 incr

Atomically increment the value for the given key.

=head2 incr

Atomically decrement the value for the given key.

=head2 set

Set the value for the given key. Optionally provide a timeout value as 3rd parameter.

=head2 atomic

Atomic set. Locks until the coderef is complete and returns the value.

=head1 SEE ALSO

=over 4

=item * L<CHI> - Unified cache handling interface

=back

=head1 INHERITED METHODS

=over 4

=item L<EntityModel::BaseClass>

L<clone|EntityModel::BaseClass/clone>, L<dump|EntityModel::BaseClass/dump>, L<sap|EntityModel::BaseClass/sap>

=back

=head1 AUTHOR

Tom Molesworth <cpan@entitymodel.com>

=head1 LICENSE

Copyright Tom Molesworth 2008-2011. Licensed under the same terms as Perl itself.
