SyncHashCacheEntry Struct Reference

Data Fields

struct SyncHashCacheHeadhead
 the parent head
struct SyncHashCacheEntrynext
 the next entry in the hash chain
struct SyncHashCacheEntrystoring
 the next entry in the storing chain
enum SyncHashState state
 state bits
uintmax_t index
 assigned by order of creation
uint32_t busy
 the tree worker usage count
uint32_t small
 the small hash
struct ccn_charbufhash
 hash used to reach this entry
struct SyncNodeCompositencL
 the local node in memory
struct SyncNodeCompositencR
 some remote node in memory
int64_t lastUsed
 time when entry last used in compare
int64_t lastLocalFetch
 time when local entry last fetched
int64_t lastRemoteFetch
 time when remote entry last fetched
ccnr_hwm stablePoint
 stable point (roots only)

Detailed Description

Definition at line 48 of file SyncHashCache.h.


Field Documentation

the tree worker usage count

Definition at line 54 of file SyncHashCache.h.

Referenced by abortCompare(), noteHash(), noteRemoteHash(), SyncTreeWorkerInit(), SyncTreeWorkerPop(), and SyncTreeWorkerPush().

assigned by order of creation

Definition at line 53 of file SyncHashCache.h.

Referenced by SyncHashEnter().

time when local entry last fetched

Definition at line 60 of file SyncHashCache.h.

time when remote entry last fetched

Definition at line 61 of file SyncHashCache.h.

Referenced by noteRemoteHash(), and SyncInterestArrived().

the next entry in the hash chain

Definition at line 50 of file SyncHashCache.h.

Referenced by localFreeEntry(), purgeOldEntries(), SyncHashCacheFree(), SyncHashClearMarks(), SyncHashEnter(), SyncHashLookup(), and SyncHashRemoveEntry().

the small hash

Definition at line 55 of file SyncHashCache.h.

Referenced by showCacheEntry(), SyncHashEnter(), SyncHashLookup(), and SyncHashRemoveEntry().

stable point (roots only)

Definition at line 62 of file SyncHashCache.h.

Referenced by HeartbeatAction(), SyncHashEnter(), and UpdateAction().

the next entry in the storing chain

Definition at line 51 of file SyncHashCache.h.

Referenced by findAndDeleteRoot(), HeartbeatAction(), and newNodeCommon().


The documentation for this struct was generated from the following file:
Generated on Tue Aug 21 14:55:08 2012 for Content-Centric Networking in C by  doxygen 1.6.3