Voldemort::Store
The primary interface for interacting with a Voldemort store, synchronously or asynchromously.
Moose Voldemort::Connection property, required on instanciation.
Moose string property of the default store to use. If one is not provided, it must be provided on operations which manipulate data.
Moose boolean property if the connection should be used synchronously or asynchronously. Changing this property mid-stride can cause confusion later getting results of operations.
Method which performs a check on the IO::Connection for data. Defaults to a 1 second wait if the number of seconds is not passed in.
Method that retrieves the next response off the wire. In synchronous mode, this method is called for you. In asynchronous mode, you must call this yourself.
Methods that perform operations on the store, named for their function. The first param of the method is a hash of the parameters. In asynchronous mode, these methods will not deserialize a result off the wire but instead queue them to be read by next_response.
The name of the store in voldemort to manipulate, defaults to default_store.
Key in which to operate.
For writes and deletes, which vectors are being modified. In scalar form or array ref, it is considered one writer. Passing in an array ref of [1,2] will create a single node vector of [1,2]. Then writing with a node of 1 will not modify the vector of [1,2].
Key for puts, the value to store.
To install Voldemort, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Voldemort
CPAN shell
perl -MCPAN -e shell install Voldemort
For more information on module installation, please visit the detailed CPAN module installation guide.