Cnation > Apache-XPP-2.02 > Apache::XPP::Cache

Download:
Apache-XPP-2.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 2.01   Source  

NAME ^

Apache::XPP::Cache - XPP Cache manegment module

SYNOPSIS ^

 use Apache::XPP::Cache;
 $cache = Apache::XPP::Cache->new( %options );
 $cache = Apache::XPP::Cache->is_cached( %options );

REQUIRES ^

Apache::XPP

EXPORTS ^

Nothing

DESCRIPTION ^

Apache::XPP::Cache is an interface to both Store and Expire caching modules.

METHODS ^

new( $name, $group, \%instance_data, [ $storetype, @store_options ], [ $expiretype, @expire_options ] )

Creates a new Cache object using the specified Store and Expire types.

install_module ( ('Store'|'Expiry'), $name )

Installs the $name store or expiry module, and returns the associated class name.

is_expired ( )

Returns a true value if the current cache has expired, otherwise returns false.

content ( )

Returns the content of the current cache.

r ( )

Returns the Apache request object

AUTOLOAD ( )

Calling $obj->meth() returns $obj->{'meth'}. Calling $obj->meth($val) sets $obj->{'meth'} = $val.

REVISION HISTORY ^

 $Log: Cache.pm,v $
 Revision 1.9  2002/01/16 21:06:01  kasei
 Updated VERSION variables to 2.01

 Revision 1.8  2000/09/15 22:02:37  dougw
 Took out $AUTOLOAD

 Revision 1.7  2000/09/15 21:35:22  dougw
 Autoload changed to use Apache::XPP's autoload. This didn't make it into
 the previous check in.

 Revision 1.6  2000/09/13 21:02:11  dougw
 David cleaned up the loop in new() so it isn't 2 identical loops. r() and
 AUTOLOAD() are now just forwarders to Apache::XPP::r and Apache::XPP::AUTOLOAD

 Revision 1.5  2000/09/07 19:03:19  dougw
 over fix

 Revision 1.4  2000/09/07 18:40:38  dougw
 Pod updates.

AUTHORS ^

Doug Weimer <dougw@cnation.com> Greg Williams <greg@cnation.com>

SEE ALSO ^

 l<perl(1)>.
 l<Apache::XPP>
syntax highlighting: