-
-
18 Aug 2008 18:39:33 UTC
- Distribution: Authen-Quiz
- Module version: 0.01
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (350 / 0 / 0)
- Kwalitee
Bus factor: 0- 42.07% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (42.53KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- Masatoshi Mizuno E<lt>lusheE<64>cpan.orgE<gt>
- Dependencies
- Cache::Memcached
- Cache::Memcached::Fast
- Class::Accessor::Fast
- Class::C3
- Digest::SHA1
- File::Spec
- Jcode
- UNIVERSAL::require
- YAML
- YAML::Syck
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Authen::Quiz::Plugin::Memcached - Plugin to which problem data of Authen::Quiz is cached.
SYNOPSIS
use Authen::Quiz::FW qw/ Memcached /; my $q= Authen::Quiz::FW->new( data_folder => '/path/to/authen_quiz', memcached => { servers=> ["127.0.0.1:11211"], }, memcached_expire => 600, );
DESCRIPTION
I think that it comes to influence the response when the problem data of Authen::Quiz is enlarged. This plugin caches the problem data with Memcached, and prevents the response from deteriorating.
The option of Memcached is passed to the constructor reading by way of Authen::Quiz::FW to use it.
Besides, the item named memcached_expire that sets the expiration date of cache can be passed. Default is 600.
When load_quiz is called by this, cache comes to be effective.
METHODS
new
Constructor.
load_quiz
The method of Authen::Quiz is Obarraited and cache is effective.
cache
The cashe object is returned.
SEE ALSO
Authen::Quiz, Authen::Quiz::FW, Cache::Memcached, Cache::Memcached::Fast,
http://egg.bomcity.com/wiki?Authen%3a%3aQuiz,
AUTHOR
Masatoshi Mizuno <lushe@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2008 by Bee Flag, Corp. <http://egg.bomcity.com/>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
Module Install Instructions
To install Authen::Quiz, copy and paste the appropriate command in to your terminal.
cpanm Authen::Quiz
perl -MCPAN -e shell install Authen::Quiz
For more information on module installation, please visit the detailed CPAN module installation guide.