Catalyst::Model::MogileFS::Client - Model class of MogileFS::Client on Catalyst
Version 0.06
in MyApp.pm
package MyApp; MyApp->config( 'Model::Storage::MyImage' => { domain => 'myimage.art-code.org', readonly => 1 } );
At first, you must run mogilefsd and mogstored. For example,
$ sudo mogstored $ sudo -u mogile mogilefsd
Next, execute Makefile.PL.
Constructor. $config must be hash ref. See below for available parameter. More detail in MogileFS::Client.
For nfs setup.
MogileFS domain
MogileFS::Backend object
readonly flag 1 or 0
trackers hosts as array ref
timeout sec
Reload MogileFS::Client setting More detail, see 'new' method.
Getter for MogileFS::Client original instance
Return last using tracker. See MogileFS::Client, MogileFS::Backend
Return error message if exists errors. See MogileFS::Client, MogileFS::Backend
Return error code if exists errors. See MogileFS::Client, MogileFS::Backend
Readonly flag accessor. See MogileFS::Client, MogileFS::Backend
$arg must be hash ref as {"standard-ip" => "prefferred-ip"}. See MogileFS::Client, MogileFS::Backend
Return MogileFS::NewHTTPFile object or undef if no device.
Specified file key name.
Specified class name include files.
The length of the file.
It must be hash ref. Now supported option is "fid".
"fid" option is unique file id to use instead of just picking one in the database.
See MogileFS::Client, MogileFS::Backend
File name.
See also new_method about other arguments. See MogileFS::Client, MogileFS::Backend
File content.
Available two option. see below.
No verify. 0 or 1.
Specified zone value.
Timeout seconds. default 10 sec.
Delete file with $key.
Sleep thread $duration seconds. See MogileFS::Client, MogileFS::Backend
Rename file key name $from_key to $to_key. See MogileFS::Client, MogileFS::Backend
Search key list by $prefix, $after.
key's prefix.
key's postfix.
Limitation of result list count.
Apply callback easch list keys.
Hash ref. Available option is only prefix. See list_keys method.
Code ref with 1 argument.
used to support plugins that have modified the server, this builds things into an argument list and passes them back to the server
Toru Yamaguchi, <zigorou at cpan.org>
<zigorou at cpan.org>
Please report any bugs or feature requests to bug-catalyst-model-mogilefs-client at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Catalyst-Model-MogileFS-Client. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-catalyst-model-mogilefs-client at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Catalyst::Model::MogileFS::Client
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Catalyst-Model-MogileFS-Client
CPAN Ratings
http://cpanratings.perl.org/d/Catalyst-Model-MogileFS-Client
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Catalyst-Model-MogileFS-Client
Search CPAN
http://search.cpan.org/dist/Catalyst-Model-MogileFS-Client
Copyright 2006 Toru Yamaguchi, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Catalyst::Model::MogileFS::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Model::MogileFS::Client
CPAN shell
perl -MCPAN -e shell install Catalyst::Model::MogileFS::Client
For more information on module installation, please visit the detailed CPAN module installation guide.