|type to use for storing time-related members; must be signed More...|
|bool||sane () const|
|consistency self-check: whether the data appears to make sense More...|
|call this before storing the log entry More...|
|unsigned char||key [SQUID_MD5_DIGEST_LENGTH]|
- Defines the structure of a binary swap.state file entry for UFS stores. TODO: Move to fs/ufs
- StoreSwapLogData entries are written in native machine byte order They are not necessarily portable across architectures.
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
Member Data Documentation
The value of the response's Expires: header, if any. If the response does not have an Expires: header, this is set to -1. If the response has an invalid (unparseable) Expires: header, it is also set to -1. There are some cases where Squid sets expires to -2. This happens for the internal "netdb" object and for FTP URL responses.
A copy of the StoreEntry flags field. Used as a sanity check when rebuilding the cache at startup. Objects that have the KEY_PRIVATE flag set are not added back to the cache.
|unsigned char StoreSwapLogData::key[SQUID_MD5_DIGEST_LENGTH]|
The value of the response's Last-modified: header, if any. This is set to -1 if there is no Last-modified: header, or if it is unparseable.
Either SWAP_LOG_ADD when an object is added to the disk storage, or SWAP_LOG_DEL when an object is deleted.
The number of times that this object has been accessed (referenced). Since its a 16-bit quantity, it is susceptible to overflow if a single object is accessed 65,536 times before being replaced.
This is the number of bytes that the object occupies on disk. It includes the Squid "swap file header".
The 32-bit file number which maps to a pathname. Only the low 24-bits are relevant. The high 8-bits are used as an index to an array of storage directories, and are set at run time because the order of storage directories may change over time.
A Unix time value that represents the time when the origin server generated this response. If the response has a valid Date: header, this timestamp corresponds to that time. Otherwise, it is set to the Squid process time when the response is read (as soon as the end of headers are found).
The documentation for this class was generated from the following files: