The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Apache::XPP::Cache::Expiry::Duration - Duration based cache expiry.

SYNOPSIS

...

REQUIRES

Apache::XPP::Cache::Expiry

EXPORTS

Nothing

DESCRIPTION

Apache::XPP::Cache::Expiry::Duration handles the expiring of caches based on a duration of time on behalf of Apache::XPP::Cache.

METHODS

new ( $name, $group, \%instance_data, $duration )

Creates a new Duration expiry object. The contents of %instance_data will be placed in the object as instance data (for Apache request object, etc.).

is_expired ( $store_object )

Returns TRUE if the cache (whose store is passed as an argument) has expired, FALSE otherwise.

REVISION HISTORY

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

 Revision 1.5  2000/09/11 20:12:23  david
 Various minor code efficiency improvements.

 Revision 1.4  2000/09/07 19:02:56  dougw
 over fix

 Revision 1.3  2000/09/07 18:53:13  dougw
 Added VERSION/REVISION, pod changes.

AUTHORS

Greg Williams <greg@cnation.com>

SEE ALSO

perl(1).