Object
This class communicates with the MogileFS trackers. You should not have to use this directly unless you are developing support for new commands or plugins for MogileFS
this converts an error code from a mogilefsd tracker to an exception:
Examples of some exceptions that get created:
class AfterMismatchError < MogileFS::Error; end class DomainNotFoundError < MogileFS::Error; end class InvalidCharsError < MogileFS::Error; end
adds idempotent MogileFS commands names, these commands may be retried transparently on a different tracker if there is a network/server error.
Creates a new MogileFS::Backend.
:hosts is a required argument and must be an Array containing one or more ‘hostname:port’ pairs as Strings.
:timeout adjusts the request timeout before an error is returned.
this command is special since the cache is per-tracker, so we connect to all backends and not just one
this converts an error code from a mogilefsd tracker to an exception Most of these exceptions should already be defined, but since the MogileFS server code is liable to change and we may not always be able to keep up with the changes
Originally generated with the Darkfish Rdoc Generator 2, modified by wrongdoc.