Classes | |
struct | ServerEntry |
struct | ServerList |
Public Member Functions | |
NeighborCache (HttpMInvalCache *c, double t, LivenessTimer *timer) | |
double | time () |
void | reset_timer (double time) |
int | is_down () |
void | down () |
void | up () |
int | num () const |
HttpMInvalCache * | cache () |
void | pack_leave (HttpLeaveData &) |
int | is_server_down (int sid) |
void | server_down (int sid) |
void | server_up (int sid) |
void | invalidate (HttpMInvalCache *c) |
void | add_server (int sid) |
Protected Attributes | |
HttpMInvalCache * | cache_ |
double | time_ |
int | down_ |
ServerList | sl_ |
LivenessTimer * | timer_ |