|
XRootD
|
#include <XrdClHttpUtil.hh>
Collaboration diagram for XrdClHttp::HandlerQueue:Public Member Functions | |
| HandlerQueue (unsigned max_pending_ops) | |
| std::shared_ptr< CurlOperation > | Consume (std::chrono::steady_clock::duration) |
| void | Expire () |
| CURL * | GetHandle () |
| int | PollFD () const |
| void | Produce (std::shared_ptr< CurlOperation > handler) |
| void | RecycleHandle (CURL *) |
| void | ReleaseHandles () |
| void | Shutdown () |
| std::shared_ptr< CurlOperation > | TryConsume () |
Static Public Member Functions | |
| static unsigned | GetDefaultMaxPendingOps () |
| static std::string | GetMonitoringJson () |
HandlerQueue is a deque of curl operations that need to be performed. The object is thread safe and can be waited on via poll().
The fact that it's poll'able is necessary because the multi-curl driver thread is based on polling FD's
Definition at line 196 of file XrdClHttpUtil.hh.
| HandlerQueue::HandlerQueue | ( | unsigned | max_pending_ops | ) |
Definition at line 697 of file XrdClHttpUtil.cc.
References close.
| std::shared_ptr< CurlOperation > HandlerQueue::Consume | ( | std::chrono::steady_clock::duration | dur | ) |
Definition at line 939 of file XrdClHttpUtil.cc.
References read.
| void HandlerQueue::Expire | ( | ) |
Definition at line 837 of file XrdClHttpUtil.cc.
|
inlinestatic |
Definition at line 223 of file XrdClHttpUtil.hh.
| CURL * HandlerQueue::GetHandle | ( | ) |
Definition at line 821 of file XrdClHttpUtil.cc.
|
static |
Definition at line 975 of file XrdClHttpUtil.cc.
|
inline |
Definition at line 205 of file XrdClHttpUtil.hh.
| void HandlerQueue::Produce | ( | std::shared_ptr< CurlOperation > | handler | ) |
Definition at line 900 of file XrdClHttpUtil.cc.
References XrdCl::errOperationExpired, and write.
Referenced by XrdClHttp::stat_size().
Here is the caller graph for this function:| void HandlerQueue::RecycleHandle | ( | CURL * | curl | ) |
Definition at line 832 of file XrdClHttpUtil.cc.
| void HandlerQueue::ReleaseHandles | ( | ) |
Definition at line 1032 of file XrdClHttpUtil.cc.
| void HandlerQueue::Shutdown | ( | ) |
Definition at line 1024 of file XrdClHttpUtil.cc.
| std::shared_ptr< CurlOperation > HandlerQueue::TryConsume | ( | ) |
Definition at line 988 of file XrdClHttpUtil.cc.
References read.