The host the Riak server is on. Can be set via the environment variable DATA_RIAK_HTTP_HOST, and defaults to 127.0.0.1.
The port of the host that the riak server is on. Can be set via the environment variable DATA_RIAK_HTTP_PORT, and defaults to 8098.
The maximum value (in seconds) that a request can go before timing out. Can be set via the environment variable DATA_RIAK_HTTP_TIMEOUT, and defaults to 15.
This is the instance of LWP::UserAgent we use to talk to Riak.
The base URI for the Riak server.
Tests to see if the specified Riak server is answering. Returns 0 for no, 1 for yes.
Send a Data::Riak::Fast::HTTP::Request to the server. If you pass in a hashref, it will create the Request object for you on the fly.
To install Data::Riak::Fast, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Riak::Fast
CPAN shell
perl -MCPAN -e shell install Data::Riak::Fast
For more information on module installation, please visit the detailed CPAN module installation guide.