NAME

Sledge::Cache - Abstract base class for sledge's cache class

SYNOPSIS

use base 'Sledge::Cache';
sub _init {
    my ($self, $page) = @_;
    # initialize
}
sub _get {
    my ($self, $key) = @_;
    # get value
}
sub _set {
    my ($self, $key, $val, $exptime) = @_;
    # set value
}
sub _remove {
    my ($self, $key) = @_;
    # remove value
}

DESCRIPTION

Sledge::Cache is abstract base class for sledge's cache class.

AUTHOR

MATSUNO Tokuhiro <tokuhiro at mobilefactory.jp>

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

SEE ALSO

Sledge::Plugin::Cache, Bundle::Sledge