implement aggregated 'io' action
More...
#include <IoAction.h>
|
| void | add (const Action &action) override |
| | incrementally merge in remote information (of the same action type)
|
| |
| void | pack (Ipc::TypedMsgHdr &msg) const override |
| | pack collected action info into a message to be sent to Coordinator
|
| |
| void | unpack (const Ipc::TypedMsgHdr &msg) override |
| | unpack action info from the message received by Coordinator
|
| |
| void | run (StoreEntry *entry, bool writeHttpHeader) |
| | collect + fillEntry: collect local information and fill the store entry
|
| |
| void | fillEntry (StoreEntry *entry, bool writeHttpHeader) |
| | prepare store entry, dump info, close store entry (if possible)
|
| |
| virtual void | respond (const Request &request) |
| | respond to Coordinator request; default is to collect and sendResponse
|
| |
| void | sendResponse (Ipc::RequestId) |
| | notify Coordinator that this action is done with local processing
|
| |
| virtual bool | aggregatable () const |
| |
| virtual Format | format () const |
| | action report syntax
|
| |
| bool | atomic () const |
| | dump() call writes everything before returning
|
| |
| const char * | name () const |
| | label as seen in the cache manager menu
|
| |
| const Command & | command () const |
| | the cause of this action
|
| |
| StoreEntry * | createStoreEntry () const |
| | creates store entry from params
|
| |
| const char * | contentType () const |
| | HTTP Content-Type header value for this Action report.
|
| |
Definition at line 35 of file IoAction.h.
◆ Pointer
◆ IoAction()
◆ add()
| void Mgr::IoAction::add |
( |
const Action & |
action | ) |
|
|
overridevirtual |
◆ aggregatable()
| virtual bool Mgr::Action::aggregatable |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ atomic()
| bool Mgr::Action::atomic |
( |
| ) |
const |
|
inherited |
◆ collect()
| void Mgr::IoAction::collect |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ command()
◆ contentType()
| const char * Mgr::Action::contentType |
( |
| ) |
const |
|
inherited |
◆ Create()
◆ createStoreEntry()
| StoreEntry * Mgr::Action::createStoreEntry |
( |
| ) |
const |
|
inherited |
◆ dump()
◆ fillEntry()
| void Mgr::Action::fillEntry |
( |
StoreEntry * |
entry, |
|
|
bool |
writeHttpHeader |
|
) |
| |
|
inherited |
◆ format()
◆ name()
| const char * Mgr::Action::name |
( |
| ) |
const |
|
inherited |
◆ pack()
◆ respond()
| void Mgr::Action::respond |
( |
const Request & |
request | ) |
|
|
virtualinherited |
◆ run()
| void Mgr::Action::run |
( |
StoreEntry * |
entry, |
|
|
bool |
writeHttpHeader |
|
) |
| |
|
inherited |
◆ sendResponse()
◆ unpack()
◆ cmd
◆ data
The documentation for this class was generated from the following files: