Data Fields | |
struct SyncHashCacheHead * | head |
the parent head | |
struct SyncHashCacheEntry * | next |
the next entry in the hash chain | |
struct SyncHashCacheEntry * | storing |
the next entry in the storing chain | |
enum SyncHashState | state |
state bits | |
uint32_t | busy |
the tree worker usage count | |
uint32_t | small |
the small hash | |
struct ccn_charbuf * | hash |
hash used to reach this entry | |
struct SyncNodeComposite * | ncL |
the local node in memory | |
struct SyncNodeComposite * | ncR |
some remote node in memory | |
sync_time | lastUsed |
time when entry last used in compare | |
sync_time | lastLocalFetch |
time when local entry last fetched | |
sync_time | lastRemoteFetch |
time when remote entry last fetched | |
ccnr_hwm | stablePoint |
stable point (roots only) |
Definition at line 46 of file SyncHashCache.h.
struct SyncHashCacheHead* SyncHashCacheEntry::head [read] |
the parent head
Definition at line 47 of file SyncHashCache.h.
Referenced by findAndDeleteRoot(), HeartbeatAction(), setCovered(), SyncCacheEntryFetch(), SyncCacheEntryStore(), and SyncHashEnter().
struct SyncHashCacheEntry* SyncHashCacheEntry::next [read] |
the next entry in the hash chain
Definition at line 48 of file SyncHashCache.h.
Referenced by localFreeEntry(), purgeOldEntries(), SyncHashCacheFree(), SyncHashClearMarks(), SyncHashEnter(), SyncHashLookup(), and SyncHashRemoveEntry().
struct SyncHashCacheEntry* SyncHashCacheEntry::storing [read] |
the next entry in the storing chain
Definition at line 49 of file SyncHashCache.h.
Referenced by findAndDeleteRoot(), HeartbeatAction(), and newNodeCommon().
state bits
Definition at line 50 of file SyncHashCache.h.
Referenced by chooseRemoteHash(), doPreload(), ensureRemoteEntry(), exclusionsFromHashList(), HeartbeatAction(), isCovered(), newNodeCommon(), noteRemoteHash(), purgeOldEntries(), setCovered(), SyncCacheEntryFetch(), SyncCacheEntryStore(), SyncHashClearMarks(), SyncHashEnter(), SyncRemoteFetchResponse(), SyncStartNodeFetch(), and SyncTreeMarkReachable().
uint32_t SyncHashCacheEntry::busy |
the tree worker usage count
Definition at line 51 of file SyncHashCache.h.
Referenced by abortCompare(), noteRemoteHash(), SyncTreeWorkerInit(), SyncTreeWorkerPop(), and SyncTreeWorkerPush().
uint32_t SyncHashCacheEntry::small |
the small hash
Definition at line 52 of file SyncHashCache.h.
Referenced by SyncHashEnter(), SyncHashLookup(), and SyncHashRemoveEntry().
struct ccn_charbuf* SyncHashCacheEntry::hash [read] |
hash used to reach this entry
Definition at line 53 of file SyncHashCache.h.
Referenced by abortCompare(), exclusionsFromHashList(), HeartbeatAction(), localFreeEntry(), noteRemoteHash(), purgeOldEntries(), setCovered(), SyncCacheEntryFetch(), SyncCacheEntryStore(), SyncHashEnter(), SyncHashLookup(), and SyncStartNodeFetch().
struct SyncNodeComposite* SyncHashCacheEntry::ncL [read] |
the local node in memory
Definition at line 54 of file SyncHashCache.h.
Referenced by doComparison(), formatStats(), localFreeEntry(), MakeNodeFromNames(), newNodeCommon(), printTreeInner(), purgeOldEntries(), SyncCacheEntryFetch(), SyncCacheEntryStore(), SyncInterestArrived(), SyncTreeGenerateNames(), SyncTreeLookupName(), SyncTreeMarkReachable(), SyncTreeMergeNames(), SyncTreeWorkerGetElem(), SyncTreeWorkerPush(), testReadBuilder(), and UpdateAction().
struct SyncNodeComposite* SyncHashCacheEntry::ncR [read] |
some remote node in memory
Definition at line 55 of file SyncHashCache.h.
Referenced by doComparison(), doPreload(), localFreeEntry(), printTreeInner(), SyncRemoteFetchResponse(), SyncRootAdviseResponse(), SyncTreeGenerateNames(), SyncTreeLookupName(), SyncTreeMarkReachable(), SyncTreeMergeNames(), SyncTreeWorkerGetElem(), and SyncTreeWorkerPush().
time when entry last used in compare
Definition at line 56 of file SyncHashCache.h.
Referenced by cacheEntryForElem(), chooseRemoteHash(), doComparison(), noteRemoteHash(), purgeOldEntries(), SyncHashEnter(), and SyncStartCompareAction().
time when remote entry last fetched
Definition at line 58 of file SyncHashCache.h.
Referenced by noteRemoteHash(), and SyncInterestArrived().
stable point (roots only)
Definition at line 59 of file SyncHashCache.h.
Referenced by HeartbeatAction(), SyncHashEnter(), and UpdateAction().