GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CACHE::OBJECT (3)

.ds Aq ’

NAME

Cache::Object -- the data stored in a Cache.

CONTENTS

DESCRIPTION

Object is used by classes implementing the Cache interface as an object oriented wrapper around the data. End users will not normally use Object directly, but it can be retrieved via the get_object method on the Cache::Cache interface.

SYNOPSIS



 use Cache::Object;

 my $object = new Cache::Object( );

 $object->set_key( $key );
 $object->set_data( $data );
 $object->set_expires_at( $expires_at );
 $object->set_created_at( $created_at );



METHODS

<B>new( )B> Construct a new Cache::Object.

PROPERTIES

<B>(get|set)_accessed_atB> The time at which the object was last accessed. Various cache implementations will use the accessed_at property to store information for LRU algorithms. There is no guarantee that all caches will update this field, however.
<B>(get|set)_created_atB> The time at which the object was created.
<B>(get|set)_dataB> A scalar containing or a reference pointing to the data to be stored.
<B>(get|set)_expires_atB> The time at which the object should expire from the cache.
<B>(get|set)_keyB> The key under which the object was stored.
<B>(get|set)_sizeB> The size of the frozen version of this object

SEE ALSO

Cache::Cache

AUTHOR

Original author: DeWitt Clinton <dewitt@unto.net>

Last author: $Author: dclinton $

Copyright (C) 2001-2003 DeWitt Clinton

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CACHE::OBJECT (3) 2015-01-22

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.