RockHeaderUpdater.h
Go to the documentation of this file.
Definition: AsyncJob.h:32
Aggregates information required for updating entry metadata and headers.
Definition: StoreMap.h:182
Definition: RefCount.h:28
IoCbParams(const char *aBuf, ssize_t aSize)
Definition: RockHeaderUpdater.h:33
Definition: RockHeaderUpdater.h:27
HeaderUpdater(const Rock::SwapDir::Pointer &aStore, const Ipc::StoreMapUpdate &update)
Definition: RockHeaderUpdater.cc:20
void stopReading(const char *why)
Definition: RockHeaderUpdater.cc:82
SlotId staleSplicingPointNext
non-updatable old HTTP body suffix start
Definition: RockHeaderUpdater.h:73
void noteDoneReading(int errflag)
Definition: RockHeaderUpdater.cc:152
bool doneAll() const override
whether positive goal has been reached
Definition: RockHeaderUpdater.cc:34
static StoreIOState::STIOCB NoteDoneReading
Definition: RockHeaderUpdater.h:48
static StoreIOState::STIOCB NoteDoneWriting
Definition: RockHeaderUpdater.h:49
CBDATA_CHILD(HeaderUpdater)
void noteRead(const IoCbParams result)
Definition: RockHeaderUpdater.cc:110
~HeaderUpdater() override=default
void noteDoneWriting(int errflag)
Definition: RockHeaderUpdater.cc:250
void STRCB(void *their_data, const char *buf, ssize_t len, StoreIOState::Pointer self)
Definition: StoreIOState.h:29
void STIOCB(void *their_data, int errflag, StoreIOState::Pointer self)
Definition: StoreIOState.h:39
Definition: forward.h:28
std::ostream & operator<<(std::ostream &os, const HeaderUpdater::IoCbParams ¶ms)
Definition: RockHeaderUpdater.h:77
sfileno SlotId
db cell number, starting with cell 0 (always occupied by the db header)
Definition: forward.h:33