Action.h
Go to the documentation of this file.
#define RefCountable
The locking interface for use on Reference-Counted classes.
Definition: Lock.h:66
Definition: RequestId.h:23
struct msghdr with a known type, fixed-size I/O and control buffers
Definition: TypedMsgHdr.h:35
Definition: Action.h:25
void fillEntry(StoreEntry *entry, bool writeHttpHeader)
prepare store entry, dump info, close store entry (if possible)
Definition: Action.cc:99
Action(const Action &)
void sendResponse(Ipc::RequestId)
notify Coordinator that this action is done with local processing
Definition: Action.cc:82
virtual void respond(const Request &request)
respond to Coordinator request; default is to collect and sendResponse
Definition: Action.cc:68
Action & operator=(const Action &)
virtual void unpack(const Ipc::TypedMsgHdr &)
unpack action info from the message received by Coordinator
Definition: Action.h:55
virtual void add(const Action &action)
incrementally merge in remote information (of the same action type)
Definition: Action.cc:63
virtual void pack(Ipc::TypedMsgHdr &) const
pack collected action info into a message to be sent to Coordinator
Definition: Action.h:52
void run(StoreEntry *entry, bool writeHttpHeader)
collect + fillEntry: collect local information and fill the store entry
Definition: Action.cc:91
combined hard-coded action profile with user-supplied action parameters
Definition: Command.h:22
Definition: Store.h:42
static bool action(int fd, size_t metasize, const char *fn, const char *url, const SquidMetaList &meta)
Definition: purge.cc:315