#include <http-aux.h>
Collaboration diagram for InvalidationRec:

Public Member Functions | |
| InvalidationRec (const char *pid, double mtime, char updating=0) | |
| virtual | ~InvalidationRec () |
| const char * | pg () const |
| double | mtime () const |
| char | updating () const |
| int | scount () const |
| InvalidationRec * | next () |
| void | reset (double mtime) |
| int | dec_scount () |
| void | set_updating () |
| void | clear_updating () |
| void | insert (InvalidationRec **head) |
| void | detach () |
Protected Attributes | |
| char * | pg_ |
| double | mtime_ |
| char | updating_ |
| int | scount_ |
| InvalidationRec * | next_ |
| InvalidationRec ** | prev_ |
Friends | |
| class | HttpMInvalCache |
|
||||||||||||||||
|
Definition at line 41 of file http-aux.h. References HTTP_HBEXPIRE_COUNT, mtime_, next_, pg_, prev_, scount_, and updating_.
|
|
|
Definition at line 49 of file http-aux.h. References pg_.
00049 {
00050 delete []pg_;
00051 }
|
|
|
Definition at line 65 of file http-aux.h. References updating_.
00065 { updating_ = 0; }
|
|
|
Definition at line 63 of file http-aux.h. References scount_. Referenced by HttpMInvalCache::pack_heartbeat(), and HttpYucInvalServer::pack_heartbeat().
00063 { return --scount_; }
|
|
|
Definition at line 74 of file http-aux.h. Referenced by HttpMInvalCache::add_inv(), HttpYucInvalServer::add_inv(), HttpMInvalCache::pack_heartbeat(), HttpYucInvalServer::pack_heartbeat(), and HttpMInvalCache::process_inv().
|
|
|
Definition at line 67 of file http-aux.h. Referenced by HttpMInvalCache::add_inv(), HttpYucInvalServer::add_inv(), HttpHbData::extract(), and HttpMInvalCache::process_inv().
|
|
|
Definition at line 54 of file http-aux.h. References mtime_. Referenced by HttpMInvalCache::add_inv(), HttpYucInvalServer::add_inv(), HttpHbData::InvalRec::copy(), HttpMInvalCache::process_inv(), HttpPercInvalCache::recv_inv_filter(), and HttpMInvalCache::recv_inv_filter().
00054 { return mtime_; }
|
|
|
Definition at line 57 of file http-aux.h. References next_. Referenced by HttpMInvalCache::get_invrec(), HttpYucInvalServer::get_invrec(), HttpMInvalCache::pack_heartbeat(), HttpYucInvalServer::pack_heartbeat(), and HttpMInvalCache::process_inv().
00057 { return next_; }
|
|
|
Definition at line 53 of file http-aux.h. References pg_. Referenced by HttpHbData::InvalRec::copy(), HttpMInvalCache::get_invrec(), HttpYucInvalServer::get_invrec(), and HttpMInvalCache::process_inv().
00053 { return pg_; }
|
|
|
Definition at line 59 of file http-aux.h. References HTTP_HBEXPIRE_COUNT, mtime_, and scount_.
00059 {
00060 scount_ = HTTP_HBEXPIRE_COUNT;
00061 mtime_ = mtime;
00062 }
|
|
|
Definition at line 56 of file http-aux.h. References scount_.
00056 { return scount_; }
|
|
|
Definition at line 64 of file http-aux.h. References updating_.
00064 { updating_ = 1; }
|
|
|
Definition at line 55 of file http-aux.h. References updating_. Referenced by HttpHbData::InvalRec::copy().
00055 { return updating_; }
|
|
|
Definition at line 81 of file http-aux.h. |
|
|
Definition at line 85 of file http-aux.h. Referenced by InvalidationRec(), mtime(), and reset(). |
|
|
Definition at line 88 of file http-aux.h. Referenced by detach(), insert(), InvalidationRec(), and next(). |
|
|
Definition at line 84 of file http-aux.h. Referenced by InvalidationRec(), pg(), and ~InvalidationRec(). |
|
|
Definition at line 89 of file http-aux.h. Referenced by detach(), insert(), and InvalidationRec(). |
|
|
Definition at line 87 of file http-aux.h. Referenced by dec_scount(), InvalidationRec(), reset(), and scount(). |
|
|
Definition at line 86 of file http-aux.h. Referenced by clear_updating(), InvalidationRec(), set_updating(), and updating(). |
1.3.3