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

#include <s3fanout.h>

Inheritance diagram for s3fanout::JobInfo:
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
 
char * errorbuffer
 

Additional Inherited Members

- Protected Member Functions inherited from SingleCopy
 SingleCopy ()
 

Detailed Description

Contains all the information to specify an upload job.

Definition at line 97 of file s3fanout.h.

Member Enumeration Documentation

Enumerator
kReqHeadOnly 
kReqHeadPut 
kReqPutCas 
kReqPutDotCvmfs 
kReqPutHtml 
kReqPutBucket 
kReqDelete 

Definition at line 98 of file s3fanout.h.

Constructor & Destructor Documentation

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

Definition at line 113 of file s3fanout.h.

Here is the call graph for this function:

s3fanout::JobInfo::~JobInfo ( )
inline

Definition at line 137 of file s3fanout.h.

Member Function Documentation

void s3fanout::JobInfo::JobInfoInit ( )
inline

Definition at line 123 of file s3fanout.h.

Referenced by JobInfo().

Here is the caller graph for this function:

Member Data Documentation

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

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