NAME

Class::Moco::Cache - Cache for Class::Moco

SYNOPSIS

my $c = Class::Moco::Cache->new;
my $u = User->new(user_id => '123');
my $oid = $u->object_id;
$c->set($oid, $u);
my $o = $c->get($oid); # $o is $u
$c->remove($oid); # flush

SEE ALSO

Class::Moco

AUTHOR

Junya Kondo, <jkondo@hatena.com>

COPYRIGHT AND LICENSE

Copyright (C) Hatena Inc. All Rights Reserved.

This library is free software; you may redistribute it and/or modify it under the same terms as Perl itself.