CollapsedForwarding.h
Go to the documentation of this file.
Sends and handles collapsed forwarding notifications.
Definition: CollapsedForwarding.h:24
static void Notify(const int workerId)
kick worker with empty IPC queue
Definition: CollapsedForwarding.cc:109
static void StatQueue(std::ostream &)
prints IPC message queue state; suitable for cache manager reports
Definition: CollapsedForwarding.cc:165
static void Broadcast(const StoreEntry &e, const bool includingThisWorker=false)
notify other workers about changes in entry state (e.g., new data)
Definition: CollapsedForwarding.cc:70
static void HandleNewData(const char *const when)
handle new data messages in IPC queue
Definition: CollapsedForwarding.cc:121
static void HandleNotification(const Ipc::TypedMsgHdr &msg)
handle queue push notifications from worker or disker
Definition: CollapsedForwarding.cc:145
static void HandleNewDataAtStart()
Definition: CollapsedForwarding.cc:157
Definition: Queue.h:317
struct msghdr with a known type, fixed-size I/O and control buffers
Definition: TypedMsgHdr.h:35
Definition: Store.h:42