|
Squid Web Cache master
|
#include <AsyncCallQueue.h>
Public Member Functions | |
| void | schedule (const AsyncCallPointer &call) |
| bool | fire () |
Static Public Member Functions | |
| static AsyncCallQueue & | Instance () |
Private Member Functions | |
| AsyncCallQueue ()=default | |
Private Attributes | |
| AsyncCallList | scheduled |
| calls waiting to be fire()d, in FIFO order | |
Static Private Attributes | |
| static AsyncCallQueue * | TheInstance = nullptr |
Definition at line 17 of file AsyncCallQueue.h.
|
privatedefault |
Referenced by Instance().
| bool AsyncCallQueue::fire | ( | ) |
Definition at line 21 of file AsyncCallQueue.cc.
References debugs, AsyncCallList::extract(), CodeContext::Reset(), scheduled, and AsyncCallList::size().
Referenced by EventLoop::dispatchCalls(), TestEvent::testCancel(), TestEvent::testCheckEvents(), and TestEvent::testDump().
|
static |
Definition at line 36 of file AsyncCallQueue.cc.
References AsyncCallQueue(), and TheInstance.
Referenced by EventLoop::dispatchCalls(), ScheduleCall(), TestEvent::testCancel(), TestEvent::testCheckEvents(), and TestEvent::testDump().
|
inline |
Definition at line 24 of file AsyncCallQueue.h.
References AsyncCallList::add(), and scheduled.
Referenced by ScheduleCall().
|
private |
Definition at line 32 of file AsyncCallQueue.h.
Referenced by fire(), and schedule().
|
staticprivate |
Definition at line 34 of file AsyncCallQueue.h.
Referenced by Instance().