Class Distributor

Inheritance Relationships

Derived Types

Class Documentation

class gkfs::rpc::Distributor

Subclassed by gkfs::rpc::ForwarderDistributor, gkfs::rpc::GuidedDistributor, gkfs::rpc::LocalOnlyDistributor, gkfs::rpc::SimpleHashDistributor

Public Functions

virtual host_t localhost() const = 0
virtual host_t locate_data(const std::string &path, const chunkid_t &chnk_id) const = 0
virtual host_t locate_data(const std::string &path, const chunkid_t &chnk_id, unsigned int hosts_size) = 0
virtual host_t locate_file_metadata(const std::string &path) const = 0
virtual std::vector<host_t> locate_directory_metadata(const std::string &path) const = 0