#include <XrdClHttpOptionsCache.hh>
Classes | |
| class | HttpVerbs |
Public Types | |
| enum class | HttpVerb { kUnset = 0 , kUnknown = 1 , kPROPFIND = 2 } |
Public Member Functions | |
| void | Expire (std::chrono::steady_clock::time_point now) |
| HttpVerbs | Get (const std::string &url, const std::chrono::steady_clock::time_point &now=std::chrono::steady_clock::now()) const |
| uint64_t | GetCacheHits () const |
| uint64_t | GetCacheMisses () const |
| void | Put (const std::string &url, const HttpVerbs &verbs, const std::chrono::steady_clock::time_point &now=std::chrono::steady_clock::now()) const |
Static Public Member Functions | |
| static std::string_view | GetUrlKey (const std::string &url, std::string &modified_url) |
| static const std::string | GetVerbString (HttpVerb ctype) |
| static VerbsCache & | Instance () |
Definition at line 37 of file XrdClHttpOptionsCache.hh.
|
strong |
| Enumerator | |
|---|---|
| kUnset | |
| kUnknown | |
| kPROPFIND | |
Definition at line 41 of file XrdClHttpOptionsCache.hh.
| void XrdClHttp::VerbsCache::Expire | ( | std::chrono::steady_clock::time_point | now | ) |
Definition at line 67 of file XrdClHttpOptionsCache.cc.
|
inline |
Definition at line 95 of file XrdClHttpOptionsCache.hh.
References GetUrlKey().
|
inline |
Definition at line 140 of file XrdClHttpOptionsCache.hh.
|
inline |
Definition at line 141 of file XrdClHttpOptionsCache.hh.
|
inlinestatic |
Definition at line 120 of file XrdClHttpOptionsCache.hh.
Referenced by Get(), Put(), and XrdClHttp::CurlWorker::Run().
|
inlinestatic |
Definition at line 61 of file XrdClHttpOptionsCache.hh.
|
static |
Definition at line 37 of file XrdClHttpOptionsCache.cc.
Referenced by XrdClHttp::CurlOptionsOp::Fail(), XrdClHttp::CurlStatOp::OptionsDone(), XrdClHttp::CurlStatOp::Redirect(), XrdClHttp::CurlStatOp::RequiresOptions(), XrdClHttp::CurlStatOp::Setup(), and XrdClHttp::CurlOptionsOp::Success().
|
inline |
Definition at line 72 of file XrdClHttpOptionsCache.hh.
References GetUrlKey(), XrdClHttp::VerbsCache::HttpVerbs::IsSet(), and kUnknown.