cache_ | wangle::LRUPersistentCache< K, V, MutexT > | private |
clear(bool clearPersistence=false) override | wangle::LRUPersistentCache< K, V, MutexT > | inlinevirtual |
executor_ | wangle::LRUPersistentCache< K, V, MutexT > | private |
executorScheduled_ | wangle::LRUPersistentCache< K, V, MutexT > | private |
get(const K &key) override | wangle::LRUPersistentCache< K, V, MutexT > | inlinevirtual |
getPersistence() | wangle::LRUPersistentCache< K, V, MutexT > | private |
hasPendingUpdates() | wangle::LRUPersistentCache< K, V, MutexT > | |
lastExecutorScheduleTime_ | wangle::LRUPersistentCache< K, V, MutexT > | private |
load(CachePersistence< K, V > &persistence) noexcept | wangle::LRUPersistentCache< K, V, MutexT > | private |
LRUPersistentCache(std::size_t cacheCapacity, std::chrono::milliseconds syncInterval=client::persistence::DEFAULT_CACHE_SYNC_INTERVAL, int nSyncRetries=client::persistence::DEFAULT_CACHE_SYNC_RETRIES, std::unique_ptr< CachePersistence< K, V >> persistence=nullptr) | wangle::LRUPersistentCache< K, V, MutexT > | explicit |
LRUPersistentCache(std::shared_ptr< folly::Executor > executor, std::size_t cacheCapacity, std::chrono::milliseconds syncInterval, int nSyncRetries, std::unique_ptr< CachePersistence< K, V >> persistence) | wangle::LRUPersistentCache< K, V, MutexT > | |
nSyncRetries_ | wangle::LRUPersistentCache< K, V, MutexT > | private |
nSyncTries_ | wangle::LRUPersistentCache< K, V, MutexT > | private |
oneShotSync() | wangle::LRUPersistentCache< K, V, MutexT > | private |
persistence_ | wangle::LRUPersistentCache< K, V, MutexT > | private |
persistenceLock_ | wangle::LRUPersistentCache< K, V, MutexT > | private |
Ptr typedef | wangle::LRUPersistentCache< K, V, MutexT > | |
put(const K &key, const V &val) override | wangle::LRUPersistentCache< K, V, MutexT > | virtual |
remove(const K &key) override | wangle::LRUPersistentCache< K, V, MutexT > | inlinevirtual |
setPersistence(std::unique_ptr< CachePersistence< K, V >> persistence) | wangle::LRUPersistentCache< K, V, MutexT > | |
setPersistenceHelper(std::unique_ptr< CachePersistence< K, V >> persistence, bool syncVersion) noexcept | wangle::LRUPersistentCache< K, V, MutexT > | private |
setSyncOnDestroy(bool syncOnDestroy) | wangle::LRUPersistentCache< K, V, MutexT > | inline |
size() override | wangle::LRUPersistentCache< K, V, MutexT > | inlinevirtual |
stopSyncer_ | wangle::LRUPersistentCache< K, V, MutexT > | private |
stopSyncerCV_ | wangle::LRUPersistentCache< K, V, MutexT > | private |
stopSyncerMutex_ | wangle::LRUPersistentCache< K, V, MutexT > | private |
sync() | wangle::LRUPersistentCache< K, V, MutexT > | private |
syncer_ | wangle::LRUPersistentCache< K, V, MutexT > | private |
syncInterval_ | wangle::LRUPersistentCache< K, V, MutexT > | private |
syncNow(CachePersistence< K, V > &persistence) | wangle::LRUPersistentCache< K, V, MutexT > | private |
syncOnDestroy_ | wangle::LRUPersistentCache< K, V, MutexT > | private |
syncThreadMain(void *arg) | wangle::LRUPersistentCache< K, V, MutexT > | privatestatic |
~LRUPersistentCache() override | wangle::LRUPersistentCache< K, V, MutexT > | |
~PersistentCache() | wangle::PersistentCache< K, V > | inlinevirtual |