#include <StoreMetaObjSize.h>


Public Member Functions | |
char | getType () const |
virtual bool | validLength (int) const |
virtual bool | checkConsistency (StoreEntry *) const |
Static Public Member Functions | |
static bool | validType (char) |
static StoreMeta * | Factory (char type, size_t len, void const *value) |
static StoreMeta ** | Add (StoreMeta **tail, StoreMeta *aNode) |
static void | FreeList (StoreMeta **head) |
Public Attributes | |
int | length |
void * | value |
tlv * | next |
Static Public Attributes | |
static int const | MaximumTLVLength = 1 << 16 |
static int const | MinimumTLVLength = 0 |
Private Member Functions | |
MEMPROXY_CLASS (StoreMetaObjSize) | |
Detailed Description
Definition at line 14 of file StoreMetaObjSize.h.
Member Function Documentation
◆ Add()
Definition at line 130 of file StoreMeta.cc.
References assert, StoreMeta::next, and NULL.
Referenced by StoreMetaUnpacker::doOneEntry(), and storeSwapMetaBuild().
◆ checkConsistency()
|
virtualinherited |
Reimplemented in StoreMetaVary, StoreMetaURL, and StoreMetaMD5.
Definition at line 138 of file StoreMeta.cc.
References assert, DBG_IMPORTANT, debugs, StoreMeta::getType(), STORE_META_KEY, STORE_META_OBJSIZE, STORE_META_STD, STORE_META_STD_LFS, STORE_META_URL, and STORE_META_VARY_HEADERS.
◆ Factory()
Definition at line 68 of file StoreMeta.cc.
References DBG_CRITICAL, debugs, StoreMeta::length, NULL, STORE_META_KEY, STORE_META_OBJSIZE, STORE_META_STD, STORE_META_STD_LFS, STORE_META_URL, STORE_META_VARY_HEADERS, type, StoreMeta::validLength(), StoreMeta::validType(), StoreMeta::value, and xmalloc.
Referenced by StoreMetaUnpacker::doOneEntry(), and storeSwapMetaBuild().
◆ FreeList()
|
staticinherited |
Definition at line 118 of file StoreMeta.cc.
References head, node::next, NULL, and xfree.
◆ getType()
|
inlinevirtual |
Implements StoreMeta.
Definition at line 19 of file StoreMetaObjSize.h.
References STORE_META_OBJSIZE.
◆ MEMPROXY_CLASS()
|
private |
◆ validLength()
|
virtualinherited |
Reimplemented in StoreMetaSTDLFS, StoreMetaSTD, and StoreMetaMD5.
Definition at line 56 of file StoreMeta.cc.
References Range< C, S >::contains(), DBG_CRITICAL, debugs, StoreMeta::MaximumTLVLength, StoreMeta::MinimumTLVLength, and MYNAME.
Referenced by StoreMeta::Factory().
◆ validType()
|
staticinherited |
Definition at line 24 of file StoreMeta.cc.
References DBG_CRITICAL, debugs, STORE_META_END, STORE_META_HITMETERING, STORE_META_KEY_SHA, STORE_META_KEY_URL, STORE_META_STOREURL, STORE_META_VALID, STORE_META_VARY_ID, and type.
Referenced by StoreMeta::Factory().
Member Data Documentation
◆ length
|
inherited |
Definition at line 133 of file StoreMeta.h.
Referenced by StoreMetaMD5::checkConsistency(), StoreMetaVary::checkConsistency(), StoreMeta::Factory(), InitStoreEntry::operator()(), and StoreMeta::operator=().
◆ MaximumTLVLength
|
staticinherited |
Definition at line 122 of file StoreMeta.h.
Referenced by StoreMeta::validLength().
◆ MinimumTLVLength
|
staticinherited |
Definition at line 123 of file StoreMeta.h.
Referenced by StoreMeta::validLength().
◆ next
|
inherited |
Definition at line 135 of file StoreMeta.h.
Referenced by StoreMeta::Add(), and StoreMeta::operator=().
◆ value
|
inherited |
Definition at line 134 of file StoreMeta.h.
Referenced by StoreMetaMD5::checkConsistency(), StoreMetaURL::checkConsistency(), StoreMetaVary::checkConsistency(), StoreMeta::Factory(), InitStoreEntry::operator()(), and StoreMeta::operator=().
The documentation for this class was generated from the following file: