NAME

MoCo::Cache - Cache for MoCo

SYNOPSIS

my $c = 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

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.