#include <sharding_policy.h>
Interface class for a sharding policy that returns the optimal proxy for each download request.
Definition at line 30 of file sharding_policy.h.
download::ShardingPolicy::ShardingPolicy |
( |
| ) |
|
|
inline |
virtual download::ShardingPolicy::~ShardingPolicy |
( |
| ) |
|
|
inlinevirtual |
virtual void download::ShardingPolicy::AddProxy |
( |
const std::string & |
proxy | ) |
|
|
pure virtual |
virtual std::string download::ShardingPolicy::GetNextProxy |
( |
const std::string * |
url, |
|
|
const std::string & |
current_proxy, |
|
|
size_t |
off |
|
) |
| |
|
pure virtual |
virtual int32_t download::ShardingPolicy::GetNumberOfProxiesOnline |
( |
| ) |
|
|
pure virtual |
virtual std::string download::ShardingPolicy::GetProxyList |
( |
| ) |
|
|
pure virtual |
virtual void download::ShardingPolicy::LogProxyList |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file:
- /home/sftnight/jenkins/workspace/CvmfsDoxygen/label/docker-x86_64/cvmfs/cvmfs/network/sharding_policy.h