mace::AddressCacheEntry Class Reference

#include <AddressCache.h>

Inheritance diagram for mace::AddressCacheEntry:

Inheritance graph
[legend]
Collaboration diagram for mace::AddressCacheEntry:

Collaboration graph
[legend]

List of all members.


Detailed Description

Entry in an address cache, contains an _id, a start and end for a range, and a timestamp it was refreshed.

Definition at line 52 of file AddressCache.h.


Public Member Functions

MaceKey getId () const
 returns the node identifier
double getScore () const
 the score is the time, to support a least-recently-used query (for cache eviction)
int deserialize (std::istream &in) throw (SerializationException)
 serialization not supported, but required for NodeCollection.
void serialize (std::string &str) const
 serialization not supported, but required for NodeCollection.

Public Attributes

MaceKey start
 beginning of the address range -- inclusive
MaceKey end
 end of the address range -- exclusive
uint64_t time
 the time the entry was created or updated

The documentation for this class was generated from the following files:

Generated on Sat Oct 4 21:30:36 2008 for Mace Library by  doxygen 1.5.5