CernVM-FS
2.12.0
|
#include <s3fanout.h>
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< FileBackedBuffer > | origin |
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 () | |
Contains all the information to specify an upload job.
Definition at line 97 of file s3fanout.h.
Enumerator | |
---|---|
kReqHeadOnly | |
kReqHeadPut | |
kReqPutCas | |
kReqPutDotCvmfs | |
kReqPutHtml | |
kReqPutBucket | |
kReqDelete |
Definition at line 98 of file s3fanout.h.
|
inline |
|
inline |
Definition at line 137 of file s3fanout.h.
|
inline |
Definition at line 123 of file s3fanout.h.
Referenced by JobInfo().
unsigned s3fanout::JobInfo::backoff_ms |
Definition at line 150 of file s3fanout.h.
Referenced by s3fanout::S3FanoutManager::Backoff(), s3fanout::S3FanoutManager::InitializeRequest(), JobInfoInit(), and s3fanout::S3FanoutManager::VerifyAndFinalize().
void* s3fanout::JobInfo::callback |
Definition at line 109 of file s3fanout.h.
Referenced by upload::S3Uploader::Create(), upload::S3Uploader::DoUpload(), JobInfo(), JobInfoInit(), upload::S3Uploader::MainCollectResults(), and upload::S3Uploader::Peek().
CURL* s3fanout::JobInfo::curl_handle |
Definition at line 142 of file s3fanout.h.
Referenced by s3fanout::S3FanoutManager::InitializeRequest(), JobInfoInit(), s3fanout::S3FanoutManager::SetUrlOptions(), and s3fanout::S3FanoutManager::VerifyAndFinalize().
Failures s3fanout::JobInfo::error_code |
Definition at line 146 of file s3fanout.h.
Referenced by s3fanout::S3FanoutManager::Backoff(), s3fanout::CallbackCurlHeader(), s3fanout::S3FanoutManager::CanRetry(), s3fanout::S3FanoutManager::InitializeRequest(), JobInfoInit(), upload::S3Uploader::MainCollectResults(), and s3fanout::S3FanoutManager::VerifyAndFinalize().
char* s3fanout::JobInfo::errorbuffer |
Definition at line 155 of file s3fanout.h.
Referenced by s3fanout::S3FanoutManager::InitializeRequest(), JobInfoInit(), s3fanout::S3FanoutManager::VerifyAndFinalize(), and ~JobInfo().
int s3fanout::JobInfo::http_error |
Definition at line 147 of file s3fanout.h.
Referenced by s3fanout::CallbackCurlHeader(), s3fanout::S3FanoutManager::InitializeRequest(), JobInfoInit(), and s3fanout::S3FanoutManager::VerifyAndFinalize().
struct curl_slist* s3fanout::JobInfo::http_headers |
Definition at line 143 of file s3fanout.h.
Referenced by s3fanout::S3FanoutManager::InitializeRequest(), JobInfoInit(), s3fanout::S3FanoutManager::ReleaseCurlHandle(), and s3fanout::S3FanoutManager::VerifyAndFinalize().
unsigned char s3fanout::JobInfo::num_retries |
Definition at line 148 of file s3fanout.h.
Referenced by s3fanout::S3FanoutManager::Backoff(), s3fanout::S3FanoutManager::CanRetry(), s3fanout::S3FanoutManager::InitializeRequest(), and JobInfoInit().
const std::string s3fanout::JobInfo::object_key |
Definition at line 108 of file s3fanout.h.
Referenced by upload::S3Uploader::DoRemoveAsync(), upload::S3Uploader::MainCollectResults(), s3fanout::S3FanoutManager::MkAzureAuthz(), s3fanout::S3FanoutManager::MkV2Authz(), s3fanout::S3FanoutManager::MkV4Authz(), s3fanout::S3FanoutManager::SetUrlOptions(), upload::S3Uploader::UploadJobInfo(), and s3fanout::S3FanoutManager::VerifyAndFinalize().
UniquePtr<FileBackedBuffer> s3fanout::JobInfo::origin |
Definition at line 110 of file s3fanout.h.
Referenced by s3fanout::CallbackCurlData(), upload::S3Uploader::Create(), s3fanout::S3FanoutManager::InitializeRequest(), upload::S3Uploader::MainCollectResults(), s3fanout::S3FanoutManager::MkAzureAuthz(), s3fanout::S3FanoutManager::MkPayloadHash(), and s3fanout::S3FanoutManager::VerifyAndFinalize().
uint64_t s3fanout::JobInfo::payload_size |
Definition at line 144 of file s3fanout.h.
Referenced by s3fanout::S3FanoutManager::InitializeRequest(), and upload::S3Uploader::MainCollectResults().
RequestType s3fanout::JobInfo::request |
Definition at line 145 of file s3fanout.h.
Referenced by upload::S3Uploader::Create(), upload::S3Uploader::DoRemoveAsync(), upload::S3Uploader::DoUpload(), upload::S3Uploader::FinalizeStreamedUpload(), s3fanout::S3FanoutManager::GetContentType(), s3fanout::S3FanoutManager::GetRequestString(), s3fanout::S3FanoutManager::InitializeRequest(), JobInfoInit(), upload::S3Uploader::MainCollectResults(), s3fanout::S3FanoutManager::MkAzureAuthz(), s3fanout::S3FanoutManager::MkPayloadHash(), upload::S3Uploader::Peek(), and s3fanout::S3FanoutManager::VerifyAndFinalize().
unsigned s3fanout::JobInfo::throttle_ms |
Definition at line 152 of file s3fanout.h.
Referenced by s3fanout::S3FanoutManager::Backoff(), s3fanout::CallbackCurlHeader(), s3fanout::S3FanoutManager::DetectThrottleIndicator(), s3fanout::S3FanoutManager::InitializeRequest(), JobInfoInit(), and s3fanout::S3FanoutManager::VerifyAndFinalize().
uint64_t s3fanout::JobInfo::throttle_timestamp |
Definition at line 154 of file s3fanout.h.
Referenced by s3fanout::S3FanoutManager::Backoff(), s3fanout::CallbackCurlHeader(), s3fanout::S3FanoutManager::InitializeRequest(), JobInfoInit(), and s3fanout::S3FanoutManager::VerifyAndFinalize().