CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
s3fanout::JobInfo Struct Reference

#include <s3fanout.h>

Collaboration diagram for s3fanout::JobInfo:

Public Types

enum  RequestType {
  kReqHeadOnly = 0, kReqHeadPut, kReqPutCas, kReqPutDotCvmfs,
  kReqPutHtml, kReqPutBucket, kReqDelete
}
 

Public Member Functions

 JobInfo (const std::string &object_key, void *callback, FileBackedBuffer *origin)
 
void JobInfoInit ()
 
 ~JobInfo ()
 

Public Attributes

const std::string object_key
 
void * callback
 
UniquePtr< FileBackedBufferorigin
 
CURL * curl_handle
 
struct curl_slist * http_headers
 
uint64_t payload_size
 
RequestType request
 
Failures error_code
 
int http_error
 
unsigned char num_retries
 
unsigned backoff_ms
 
unsigned throttle_ms
 
uint64_t throttle_timestamp
 

Detailed Description

Contains all the information to specify an upload job.

Definition at line 93 of file s3fanout.h.

Member Enumeration Documentation

Enumerator
kReqHeadOnly 
kReqHeadPut 
kReqPutCas 
kReqPutDotCvmfs 
kReqPutHtml 
kReqPutBucket 
kReqDelete 

Definition at line 94 of file s3fanout.h.

Constructor & Destructor Documentation

s3fanout::JobInfo::JobInfo ( const std::string &  object_key,
void *  callback,
FileBackedBuffer origin 
)
inline

Definition at line 109 of file s3fanout.h.

Here is the call graph for this function:

s3fanout::JobInfo::~JobInfo ( )
inline

Definition at line 131 of file s3fanout.h.

Member Function Documentation

void s3fanout::JobInfo::JobInfoInit ( )
inline

Definition at line 119 of file s3fanout.h.

Referenced by JobInfo().

Here is the caller graph for this function:

Member Data Documentation

unsigned char s3fanout::JobInfo::num_retries
uint64_t s3fanout::JobInfo::payload_size

The documentation for this struct was generated from the following file: