CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
download::JobInfo Class Reference

#include <jobinfo.h>

Collaboration diagram for download::JobInfo:

Public Member Functions

 JobInfo (const std::string *u, const bool c, const bool ph, const shash::Any *h, cvmfs::Sink *s)
 
 JobInfo (const std::string *u, const bool ph)
 
 ~JobInfo ()
 
void CreatePipeJobResults ()
 
bool IsValidPipeJobResults ()
 
void CreateDataTube ()
 
bool IsValidDataTube ()
 
bool IsFileNotFound ()
 
pid_t * GetPidPtr ()
 
uid_t * GetUidPtr ()
 
gid_t * GetGidPtr ()
 
InterruptCue ** GetInterruptCuePtr ()
 
z_stream * GetZstreamPtr ()
 
FailuresGetErrorCodePtr ()
 
void ** GetCredDataPtr ()
 
curl_slist ** GetHeadersPtr ()
 
CURL ** GetCurlHandle ()
 
shash::ContextPtrGetHashContextPtr ()
 
Pipe< kPipeDownloadJobsResults > * GetPipeJobResultPtr ()
 
Tube< DataTubeElement > * GetDataTubePtr ()
 
const std::string * url () const
 
bool compressed () const
 
bool probe_hosts () const
 
bool head_request () const
 
bool follow_redirects () const
 
bool force_nocache () const
 
pid_t pid () const
 
uid_t uid () const
 
gid_t gid () const
 
void * cred_data () const
 
InterruptCueinterrupt_cue () const
 
cvmfs::Sinksink () const
 
const shash::Anyexpected_hash () const
 
const std::string * extra_info () const
 
off_t range_offset () const
 
off_t range_size () const
 
CURL * curl_handle () const
 
curl_slist * headers () const
 
char * info_header () const
 
char * tracing_header_pid () const
 
char * tracing_header_gid () const
 
char * tracing_header_uid () const
 
z_stream zstream () const
 
shash::ContextPtr hash_context () const
 
std::string proxy () const
 
bool nocache () const
 
Failures error_code () const
 
int http_code () const
 
unsigned char num_used_proxies () const
 
unsigned char num_used_hosts () const
 
unsigned char num_retries () const
 
unsigned backoff_ms () const
 
unsigned int current_host_chain_index () const
 
bool allow_failure () const
 
int64_t id () const
 
void SetUrl (const std::string *url)
 
void SetCompressed (bool compressed)
 
void SetProbeHosts (bool probe_hosts)
 
void SetHeadRequest (bool head_request)
 
void SetFollowRedirects (bool follow_redirects)
 
void SetForceNocache (bool force_nocache)
 
void SetPid (pid_t pid)
 
void SetUid (uid_t uid)
 
void SetGid (gid_t gid)
 
void SetCredData (void *cred_data)
 
void SetInterruptCue (InterruptCue *interrupt_cue)
 
void SetSink (cvmfs::Sink *sink)
 
void SetExpectedHash (const shash::Any *expected_hash)
 
void SetExtraInfo (const std::string *extra_info)
 
void SetRangeOffset (off_t range_offset)
 
void SetRangeSize (off_t range_size)
 
void SetCurlHandle (CURL *curl_handle)
 
void SetHeaders (curl_slist *headers)
 
void SetInfoHeader (char *info_header)
 
void SetTracingHeaderPid (char *tracing_header_pid)
 
void SetTracingHeaderGid (char *tracing_header_gid)
 
void SetTracingHeaderUid (char *tracing_header_uid)
 
void SetZstream (z_stream zstream)
 
void SetHashContext (shash::ContextPtr hash_context)
 
void SetProxy (const std::string &proxy)
 
void SetNocache (bool nocache)
 
void SetErrorCode (Failures error_code)
 
void SetHttpCode (int http_code)
 
void SetNumUsedProxies (unsigned char num_used_proxies)
 
void SetNumUsedHosts (unsigned char num_used_hosts)
 
void SetNumRetries (unsigned char num_retries)
 
void SetBackoffMs (unsigned backoff_ms)
 
void SetCurrentHostChainIndex (unsigned int current_host_chain_index)
 
void SetAllowFailure (bool allow_failure)
 
 JobInfo ()
 

Private Member Functions

void Init ()
 

Private Attributes

int64_t id_
 
UniquePtr< Pipe
< kPipeDownloadJobsResults > > 
pipe_job_results
 Pipe used for the return value. More...
 
UniquePtr< Tube
< DataTubeElement > > 
data_tube_
 
const std::string * url_
 
bool compressed_
 
bool probe_hosts_
 
bool head_request_
 
bool follow_redirects_
 
bool force_nocache_
 
pid_t pid_
 
uid_t uid_
 
gid_t gid_
 
void * cred_data_
 
InterruptCueinterrupt_cue_
 
cvmfs::Sinksink_
 
const shash::Anyexpected_hash_
 
const std::string * extra_info_
 
off_t range_offset_
 
off_t range_size_
 
CURL * curl_handle_
 
curl_slist * headers_
 
char * info_header_
 
char * tracing_header_pid_
 
char * tracing_header_gid_
 
char * tracing_header_uid_
 
z_stream zstream_
 
shash::ContextPtr hash_context_
 
std::string proxy_
 
bool nocache_
 
Failures error_code_
 
int http_code_
 
unsigned char num_used_proxies_
 
unsigned char num_used_hosts_
 
unsigned char num_retries_
 
unsigned backoff_ms_
 
unsigned int current_host_chain_index_
 
bool allow_failure_
 

Static Private Attributes

static atomic_int64 next_uuid = 0
 

Detailed Description

Contains all the information to specify a download job.

Definition at line 64 of file jobinfo.h.

Constructor & Destructor Documentation

download::JobInfo::JobInfo ( const std::string *  u,
const bool  c,
const bool  ph,
const shash::Any h,
cvmfs::Sink s 
)

Sink version: downloads entire data chunk where URL u points to

Definition at line 12 of file jobinfo.cc.

Here is the call graph for this function:

download::JobInfo::JobInfo ( const std::string *  u,
const bool  ph 
)

No sink version: Only downloads header where the URL u points to

Definition at line 23 of file jobinfo.cc.

Here is the call graph for this function:

download::JobInfo::~JobInfo ( )
inline

Definition at line 130 of file jobinfo.h.

Here is the call graph for this function:

download::JobInfo::JobInfo ( )
inline

Definition at line 264 of file jobinfo.h.

Here is the call graph for this function:

Member Function Documentation

bool download::JobInfo::allow_failure ( ) const
inline

Definition at line 209 of file jobinfo.h.

Referenced by download::Interrupted(), and SetAllowFailure().

Here is the caller graph for this function:

unsigned download::JobInfo::backoff_ms ( ) const
inline

Definition at line 205 of file jobinfo.h.

Referenced by download::DownloadManager::Backoff(), and SetBackoffMs().

Here is the caller graph for this function:

bool download::JobInfo::compressed ( ) const
inline

Definition at line 173 of file jobinfo.h.

Referenced by download::CallbackCurlData(), download::DownloadManager::InitializeRequest(), SetCompressed(), and download::DownloadManager::VerifyAndFinalize().

Here is the caller graph for this function:

void download::JobInfo::CreateDataTube ( )
inline

Definition at line 143 of file jobinfo.h.

Referenced by download::DownloadManager::Fetch().

Here is the caller graph for this function:

void download::JobInfo::CreatePipeJobResults ( )
inline

Definition at line 135 of file jobinfo.h.

Referenced by download::DownloadManager::Fetch().

Here is the caller graph for this function:

void* download::JobInfo::cred_data ( ) const
inline

Definition at line 181 of file jobinfo.h.

Referenced by download::DownloadManager::ReleaseCredential(), and SetCredData().

Here is the caller graph for this function:

unsigned int download::JobInfo::current_host_chain_index ( ) const
inline

Definition at line 206 of file jobinfo.h.

Referenced by SetCurrentHostChainIndex(), and download::DownloadManager::SwitchHost().

Here is the caller graph for this function:

const shash::Any* download::JobInfo::expected_hash ( ) const
inline
const std::string* download::JobInfo::extra_info ( ) const
inline

Definition at line 185 of file jobinfo.h.

Referenced by download::DownloadManager::Fetch(), and SetExtraInfo().

Here is the caller graph for this function:

bool download::JobInfo::follow_redirects ( ) const
inline

Definition at line 176 of file jobinfo.h.

Referenced by download::CallbackCurlHeader(), and SetFollowRedirects().

Here is the caller graph for this function:

bool download::JobInfo::force_nocache ( ) const
inline

Definition at line 177 of file jobinfo.h.

Referenced by download::DownloadManager::InitializeRequest(), and SetForceNocache().

Here is the caller graph for this function:

void** download::JobInfo::GetCredDataPtr ( )
inline

Definition at line 164 of file jobinfo.h.

Referenced by download::DownloadManager::SetUrlOptions().

Here is the caller graph for this function:

CURL** download::JobInfo::GetCurlHandle ( )
inline

Definition at line 166 of file jobinfo.h.

Tube<DataTubeElement>* download::JobInfo::GetDataTubePtr ( )
inline

Definition at line 170 of file jobinfo.h.

Referenced by download::DownloadManager::Fetch(), and download::DownloadManager::MainDownload().

Here is the caller graph for this function:

Failures* download::JobInfo::GetErrorCodePtr ( )
inline

Definition at line 163 of file jobinfo.h.

gid_t* download::JobInfo::GetGidPtr ( )
inline

Definition at line 160 of file jobinfo.h.

Referenced by cvmfs::Fetcher::Fetch().

Here is the caller graph for this function:

shash::ContextPtr* download::JobInfo::GetHashContextPtr ( )
inline

Definition at line 167 of file jobinfo.h.

Referenced by download::DownloadManager::Fetch().

Here is the caller graph for this function:

curl_slist** download::JobInfo::GetHeadersPtr ( )
inline

Definition at line 165 of file jobinfo.h.

Referenced by download::DownloadManager::SetRegularCache().

Here is the caller graph for this function:

InterruptCue** download::JobInfo::GetInterruptCuePtr ( )
inline

Definition at line 161 of file jobinfo.h.

Referenced by cvmfs::Fetcher::Fetch().

Here is the caller graph for this function:

pid_t* download::JobInfo::GetPidPtr ( )
inline

Definition at line 158 of file jobinfo.h.

Referenced by cvmfs::Fetcher::Fetch().

Here is the caller graph for this function:

Pipe<kPipeDownloadJobsResults>* download::JobInfo::GetPipeJobResultPtr ( )
inline

Definition at line 168 of file jobinfo.h.

Referenced by download::DownloadManager::Fetch(), and download::DownloadManager::MainDownload().

Here is the call graph for this function:

Here is the caller graph for this function:

uid_t* download::JobInfo::GetUidPtr ( )
inline

Definition at line 159 of file jobinfo.h.

Referenced by cvmfs::Fetcher::Fetch().

Here is the caller graph for this function:

z_stream* download::JobInfo::GetZstreamPtr ( )
inline

Definition at line 162 of file jobinfo.h.

Referenced by download::CallbackCurlData(), download::DownloadManager::InitializeRequest(), and download::DownloadManager::VerifyAndFinalize().

Here is the caller graph for this function:

gid_t download::JobInfo::gid ( ) const
inline

Definition at line 180 of file jobinfo.h.

Referenced by download::DownloadManager::Fetch(), and SetGid().

Here is the caller graph for this function:

shash::ContextPtr download::JobInfo::hash_context ( ) const
inline
bool download::JobInfo::head_request ( ) const
inline

Definition at line 175 of file jobinfo.h.

Referenced by download::DownloadManager::InitializeRequest(), and SetHeadRequest().

Here is the caller graph for this function:

curl_slist* download::JobInfo::headers ( ) const
inline
int download::JobInfo::http_code ( ) const
inline
char* download::JobInfo::info_header ( ) const
inline

Definition at line 192 of file jobinfo.h.

Referenced by download::DownloadManager::Fetch(), download::DownloadManager::InitializeRequest(), and SetInfoHeader().

Here is the caller graph for this function:

void download::JobInfo::Init ( )
private

Definition at line 39 of file jobinfo.cc.

Referenced by JobInfo().

Here is the caller graph for this function:

InterruptCue* download::JobInfo::interrupt_cue ( ) const
inline

Definition at line 182 of file jobinfo.h.

Referenced by SetInterruptCue(), and download::DownloadManager::VerifyAndFinalize().

Here is the caller graph for this function:

bool download::JobInfo::IsFileNotFound ( )

Tells whether the error is because of a non-existing file. Should only be called if error_code is not kFailOk

Definition at line 32 of file jobinfo.cc.

Referenced by publish::DownloadRootObjects(), and publish::IsMasterReplica().

Here is the call graph for this function:

Here is the caller graph for this function:

bool download::JobInfo::IsValidDataTube ( )
inline

Definition at line 148 of file jobinfo.h.

Referenced by download::DownloadManager::Fetch().

Here is the caller graph for this function:

bool download::JobInfo::IsValidPipeJobResults ( )
inline

Definition at line 139 of file jobinfo.h.

Referenced by download::DownloadManager::Fetch().

Here is the call graph for this function:

Here is the caller graph for this function:

bool download::JobInfo::nocache ( ) const
inline
unsigned char download::JobInfo::num_retries ( ) const
inline

Definition at line 204 of file jobinfo.h.

Referenced by download::DownloadManager::Backoff(), download::DownloadManager::CanRetry(), and SetNumRetries().

Here is the caller graph for this function:

unsigned char download::JobInfo::num_used_hosts ( ) const
inline

Definition at line 203 of file jobinfo.h.

Referenced by SetNumUsedHosts(), and download::DownloadManager::VerifyAndFinalize().

Here is the caller graph for this function:

unsigned char download::JobInfo::num_used_proxies ( ) const
inline

Definition at line 202 of file jobinfo.h.

Referenced by SetNumUsedProxies(), and download::DownloadManager::VerifyAndFinalize().

Here is the caller graph for this function:

pid_t download::JobInfo::pid ( ) const
inline

Definition at line 178 of file jobinfo.h.

Referenced by download::DownloadManager::Fetch(), SetPid(), and download::DownloadManager::SetUrlOptions().

Here is the caller graph for this function:

bool download::JobInfo::probe_hosts ( ) const
inline

Definition at line 174 of file jobinfo.h.

Referenced by SetProbeHosts(), download::DownloadManager::SetUrlOptions(), and download::DownloadManager::VerifyAndFinalize().

Here is the caller graph for this function:

std::string download::JobInfo::proxy ( ) const
inline
off_t download::JobInfo::range_offset ( ) const
inline

Definition at line 187 of file jobinfo.h.

Referenced by download::DownloadManager::InitializeRequest(), SetRangeOffset(), and download::DownloadManager::SetUrlOptions().

Here is the caller graph for this function:

off_t download::JobInfo::range_size ( ) const
inline

Definition at line 188 of file jobinfo.h.

Referenced by download::DownloadManager::InitializeRequest(), and SetRangeSize().

Here is the caller graph for this function:

void download::JobInfo::SetAllowFailure ( bool  allow_failure)
inline

Definition at line 261 of file jobinfo.h.

Here is the call graph for this function:

void download::JobInfo::SetBackoffMs ( unsigned  backoff_ms)
inline

Definition at line 257 of file jobinfo.h.

Referenced by download::DownloadManager::Backoff(), and download::DownloadManager::InitializeRequest().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetCompressed ( bool  compressed)
inline

Definition at line 214 of file jobinfo.h.

Referenced by cvmfs::Fetcher::Fetch(), and cvmfs::Fetcher::GetTls().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetCredData ( void *  cred_data)
inline

Definition at line 223 of file jobinfo.h.

Referenced by download::DownloadManager::ReleaseCredential().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetCurlHandle ( CURL *  curl_handle)
inline

Definition at line 236 of file jobinfo.h.

Referenced by download::DownloadManager::InitializeRequest().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetCurrentHostChainIndex ( unsigned int  current_host_chain_index)
inline

Definition at line 258 of file jobinfo.h.

Referenced by download::DownloadManager::SetUrlOptions().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetErrorCode ( Failures  error_code)
inline

Definition at line 250 of file jobinfo.h.

Referenced by download::CallbackCurlData(), download::CallbackCurlHeader(), download::DownloadManager::InitializeRequest(), and download::DownloadManager::VerifyAndFinalize().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetExpectedHash ( const shash::Any expected_hash)
inline

Definition at line 228 of file jobinfo.h.

Referenced by cvmfs::Fetcher::Fetch().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetExtraInfo ( const std::string *  extra_info)
inline

Definition at line 230 of file jobinfo.h.

Referenced by cvmfs::Fetcher::Fetch(), and StreamingCacheManager::Stream().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetFollowRedirects ( bool  follow_redirects)
inline

Definition at line 217 of file jobinfo.h.

Referenced by download::DownloadManager::InitializeRequest().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetForceNocache ( bool  force_nocache)
inline

Definition at line 219 of file jobinfo.h.

Referenced by HttpObjectFetcher< CatalogT, HistoryT, ReflogT >::Download().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetGid ( gid_t  gid)
inline

Definition at line 222 of file jobinfo.h.

Here is the call graph for this function:

void download::JobInfo::SetHashContext ( shash::ContextPtr  hash_context)
inline

Definition at line 246 of file jobinfo.h.

Here is the call graph for this function:

void download::JobInfo::SetHeaders ( curl_slist *  headers)
inline

Definition at line 237 of file jobinfo.h.

Referenced by download::DownloadManager::InitializeRequest(), and download::DownloadManager::VerifyAndFinalize().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetHeadRequest ( bool  head_request)
inline

Definition at line 216 of file jobinfo.h.

Here is the call graph for this function:

void download::JobInfo::SetHttpCode ( int  http_code)
inline

Definition at line 251 of file jobinfo.h.

Referenced by download::CallbackCurlHeader(), and download::DownloadManager::InitializeRequest().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetInfoHeader ( char *  info_header)
inline

Definition at line 238 of file jobinfo.h.

Referenced by download::DownloadManager::Fetch().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetInterruptCue ( InterruptCue interrupt_cue)
inline

Definition at line 224 of file jobinfo.h.

Here is the call graph for this function:

void download::JobInfo::SetNocache ( bool  nocache)
inline

Definition at line 249 of file jobinfo.h.

Referenced by download::DownloadManager::InitializeRequest(), download::DownloadManager::SetNocache(), and download::DownloadManager::SetRegularCache().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetNumRetries ( unsigned char  num_retries)
inline

Definition at line 256 of file jobinfo.h.

Referenced by download::DownloadManager::Backoff(), and download::DownloadManager::InitializeRequest().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetNumUsedHosts ( unsigned char  num_used_hosts)
inline

Definition at line 254 of file jobinfo.h.

Referenced by download::DownloadManager::InitializeRequest(), and download::DownloadManager::VerifyAndFinalize().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetNumUsedProxies ( unsigned char  num_used_proxies)
inline

Definition at line 252 of file jobinfo.h.

Referenced by download::DownloadManager::InitializeRequest(), and download::DownloadManager::VerifyAndFinalize().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetPid ( pid_t  pid)
inline

Definition at line 220 of file jobinfo.h.

Here is the call graph for this function:

void download::JobInfo::SetProbeHosts ( bool  probe_hosts)
inline

Definition at line 215 of file jobinfo.h.

Referenced by cvmfs::Fetcher::GetTls().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetProxy ( const std::string &  proxy)
inline

Definition at line 248 of file jobinfo.h.

Referenced by download::DownloadManager::SetUrlOptions().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetRangeOffset ( off_t  range_offset)
inline

Definition at line 233 of file jobinfo.h.

Referenced by cvmfs::Fetcher::Fetch(), and StreamingCacheManager::Stream().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetRangeSize ( off_t  range_size)
inline

Definition at line 234 of file jobinfo.h.

Referenced by cvmfs::Fetcher::Fetch(), and StreamingCacheManager::Stream().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetSink ( cvmfs::Sink sink)
inline

Definition at line 226 of file jobinfo.h.

Referenced by cvmfs::Fetcher::Fetch().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetTracingHeaderGid ( char *  tracing_header_gid)
inline

Definition at line 241 of file jobinfo.h.

Referenced by download::DownloadManager::Fetch().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetTracingHeaderPid ( char *  tracing_header_pid)
inline

Definition at line 239 of file jobinfo.h.

Referenced by download::DownloadManager::Fetch().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetTracingHeaderUid ( char *  tracing_header_uid)
inline

Definition at line 243 of file jobinfo.h.

Referenced by download::DownloadManager::Fetch().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetUid ( uid_t  uid)
inline

Definition at line 221 of file jobinfo.h.

Here is the call graph for this function:

void download::JobInfo::SetUrl ( const std::string *  url)
inline

Definition at line 213 of file jobinfo.h.

Referenced by cvmfs::Fetcher::Fetch().

Here is the call graph for this function:

Here is the caller graph for this function:

void download::JobInfo::SetZstream ( z_stream  zstream)
inline

Definition at line 245 of file jobinfo.h.

Here is the call graph for this function:

char* download::JobInfo::tracing_header_gid ( ) const
inline

Definition at line 194 of file jobinfo.h.

Referenced by download::DownloadManager::Fetch(), download::DownloadManager::InitializeRequest(), and SetTracingHeaderGid().

Here is the caller graph for this function:

char* download::JobInfo::tracing_header_pid ( ) const
inline

Definition at line 193 of file jobinfo.h.

Referenced by download::DownloadManager::Fetch(), download::DownloadManager::InitializeRequest(), and SetTracingHeaderPid().

Here is the caller graph for this function:

char* download::JobInfo::tracing_header_uid ( ) const
inline

Definition at line 195 of file jobinfo.h.

Referenced by download::DownloadManager::Fetch(), download::DownloadManager::InitializeRequest(), and SetTracingHeaderUid().

Here is the caller graph for this function:

uid_t download::JobInfo::uid ( ) const
inline

Definition at line 179 of file jobinfo.h.

Referenced by download::DownloadManager::Fetch(), and SetUid().

Here is the caller graph for this function:

z_stream download::JobInfo::zstream ( ) const
inline

Definition at line 196 of file jobinfo.h.

Referenced by SetZstream().

Here is the caller graph for this function:

Member Data Documentation

bool download::JobInfo::allow_failure_
private

Definition at line 112 of file jobinfo.h.

Referenced by allow_failure(), Init(), and SetAllowFailure().

unsigned download::JobInfo::backoff_ms_
private

Definition at line 108 of file jobinfo.h.

Referenced by backoff_ms(), Init(), and SetBackoffMs().

bool download::JobInfo::compressed_
private

Definition at line 74 of file jobinfo.h.

Referenced by compressed(), Init(), JobInfo(), and SetCompressed().

void* download::JobInfo::cred_data_
private

Definition at line 82 of file jobinfo.h.

Referenced by cred_data(), GetCredDataPtr(), Init(), and SetCredData().

CURL* download::JobInfo::curl_handle_
private

Definition at line 93 of file jobinfo.h.

Referenced by curl_handle(), GetCurlHandle(), Init(), and SetCurlHandle().

unsigned int download::JobInfo::current_host_chain_index_
private

Definition at line 109 of file jobinfo.h.

Referenced by current_host_chain_index(), Init(), and SetCurrentHostChainIndex().

UniquePtr<Tube<DataTubeElement> > download::JobInfo::data_tube_
private

Tube (bounded thread-safe queue) to transport data from CURL callback to be decompressed in Fetch() instead of MainDownload()

Definition at line 72 of file jobinfo.h.

Referenced by CreateDataTube(), GetDataTubePtr(), IsValidDataTube(), and ~JobInfo().

Failures download::JobInfo::error_code_
private

Definition at line 103 of file jobinfo.h.

Referenced by error_code(), GetErrorCodePtr(), Init(), IsFileNotFound(), and SetErrorCode().

const shash::Any* download::JobInfo::expected_hash_
private

Definition at line 85 of file jobinfo.h.

Referenced by expected_hash(), Init(), JobInfo(), and SetExpectedHash().

const std::string* download::JobInfo::extra_info_
private

Definition at line 86 of file jobinfo.h.

Referenced by extra_info(), Init(), and SetExtraInfo().

bool download::JobInfo::follow_redirects_
private

Definition at line 77 of file jobinfo.h.

Referenced by follow_redirects(), Init(), and SetFollowRedirects().

bool download::JobInfo::force_nocache_
private

Definition at line 78 of file jobinfo.h.

Referenced by force_nocache(), Init(), and SetForceNocache().

gid_t download::JobInfo::gid_
private

Definition at line 81 of file jobinfo.h.

Referenced by GetGidPtr(), gid(), Init(), and SetGid().

shash::ContextPtr download::JobInfo::hash_context_
private

Definition at line 100 of file jobinfo.h.

Referenced by GetHashContextPtr(), hash_context(), and SetHashContext().

bool download::JobInfo::head_request_
private

Definition at line 76 of file jobinfo.h.

Referenced by head_request(), Init(), JobInfo(), and SetHeadRequest().

curl_slist* download::JobInfo::headers_
private

Definition at line 94 of file jobinfo.h.

Referenced by GetHeadersPtr(), headers(), Init(), and SetHeaders().

int download::JobInfo::http_code_
private

Definition at line 104 of file jobinfo.h.

Referenced by http_code(), Init(), IsFileNotFound(), and SetHttpCode().

int64_t download::JobInfo::id_
private

Definition at line 67 of file jobinfo.h.

Referenced by id(), and Init().

char* download::JobInfo::info_header_
private

Definition at line 95 of file jobinfo.h.

Referenced by info_header(), Init(), and SetInfoHeader().

InterruptCue* download::JobInfo::interrupt_cue_
private

Definition at line 83 of file jobinfo.h.

Referenced by GetInterruptCuePtr(), Init(), interrupt_cue(), and SetInterruptCue().

atomic_int64 download::JobInfo::next_uuid = 0
staticprivate

Definition at line 66 of file jobinfo.h.

Referenced by Init().

bool download::JobInfo::nocache_
private

Definition at line 102 of file jobinfo.h.

Referenced by Init(), nocache(), and SetNocache().

unsigned char download::JobInfo::num_retries_
private

Definition at line 107 of file jobinfo.h.

Referenced by Init(), num_retries(), and SetNumRetries().

unsigned char download::JobInfo::num_used_hosts_
private

Definition at line 106 of file jobinfo.h.

Referenced by Init(), num_used_hosts(), and SetNumUsedHosts().

unsigned char download::JobInfo::num_used_proxies_
private

Definition at line 105 of file jobinfo.h.

Referenced by Init(), num_used_proxies(), and SetNumUsedProxies().

pid_t download::JobInfo::pid_
private

Definition at line 79 of file jobinfo.h.

Referenced by GetPidPtr(), Init(), pid(), and SetPid().

UniquePtr<Pipe<kPipeDownloadJobsResults> > download::JobInfo::pipe_job_results
private

Pipe used for the return value.

Definition at line 69 of file jobinfo.h.

Referenced by CreatePipeJobResults(), GetPipeJobResultPtr(), Init(), IsValidPipeJobResults(), and ~JobInfo().

bool download::JobInfo::probe_hosts_
private

Definition at line 75 of file jobinfo.h.

Referenced by Init(), JobInfo(), probe_hosts(), and SetProbeHosts().

std::string download::JobInfo::proxy_
private

Definition at line 101 of file jobinfo.h.

Referenced by proxy(), and SetProxy().

off_t download::JobInfo::range_offset_
private

Definition at line 89 of file jobinfo.h.

Referenced by Init(), range_offset(), and SetRangeOffset().

off_t download::JobInfo::range_size_
private

Definition at line 90 of file jobinfo.h.

Referenced by Init(), range_size(), and SetRangeSize().

cvmfs::Sink* download::JobInfo::sink_
private

Definition at line 84 of file jobinfo.h.

Referenced by Init(), JobInfo(), SetSink(), and sink().

char* download::JobInfo::tracing_header_gid_
private

Definition at line 97 of file jobinfo.h.

Referenced by Init(), SetTracingHeaderGid(), and tracing_header_gid().

char* download::JobInfo::tracing_header_pid_
private

Definition at line 96 of file jobinfo.h.

Referenced by Init(), SetTracingHeaderPid(), and tracing_header_pid().

char* download::JobInfo::tracing_header_uid_
private

Definition at line 98 of file jobinfo.h.

Referenced by Init(), SetTracingHeaderUid(), and tracing_header_uid().

uid_t download::JobInfo::uid_
private

Definition at line 80 of file jobinfo.h.

Referenced by GetUidPtr(), Init(), SetUid(), and uid().

const std::string* download::JobInfo::url_
private

Definition at line 73 of file jobinfo.h.

Referenced by Init(), IsFileNotFound(), JobInfo(), SetUrl(), and url().

z_stream download::JobInfo::zstream_
private

Definition at line 99 of file jobinfo.h.

Referenced by GetZstreamPtr(), Init(), SetZstream(), and zstream().


The documentation for this class was generated from the following files: