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


Apache-XPP documentation  | view source Contained in the Apache-XPP distribution.

Index


NAME

Top

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

SYNOPSIS

Top

...

REQUIRES

Top

Apache::XPP::Cache::Expiry

EXPORTS

Top

Nothing

DESCRIPTION

Top

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

METHODS

Top

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

Top

 $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

Top

Greg Williams <greg@cnation.com>

SEE ALSO

Top

perl(1).


Apache-XPP documentation  | view source Contained in the Apache-XPP distribution.