CHI::CacheObject man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

CHI::CacheObject(3)   User Contributed Perl Documentation  CHI::CacheObject(3)

NAME
       CHI::CacheObject - Contains information about cache entries

VERSION
       version 0.55

SYNOPSIS
	   my $object = $cache->get_object($key);

	   my $key	  = $object->key();
	   my $value	  = $object->value();
	   my $expires_at = $object->expires_at();
	   my $created_at = $object->created_at();

	   if ($object->is_expired()) { ... }

DESCRIPTION
       The CHI method returns this object if the key exists.  The object will
       be returned even if the entry has expired, as long as it has not been
       removed.

       There is currently no public API for creating one of these objects
       directly.

METHODS
       All methods are read-only. The get_* methods are provided for backward
       compatibility with Cache::Cache's Cache::Object.

       key The key.

       value
	   The value.

       expires_at
       get_expires_at
	   Epoch time at which item expires.

       created_at
       get_created_at
	   Epoch time at which item was last written to.

       is_expired
	   Returns boolean indicating whether item has expired. This may be
	   probabilistically determined if an "expires_variance" was used.

SEE ALSO
       CHI

AUTHOR
       Jonathan Swartz <swartz@pobox.com>

COPYRIGHT AND LICENSE
       This software is copyright (c) 2011 by Jonathan Swartz.

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

perl v5.14.2			  2012-07-04		   CHI::CacheObject(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net