proxygen
wangle::LRUPersistentCache< K, V, MutexT > Member List

This is the complete list of members for wangle::LRUPersistentCache< K, V, MutexT >, including all inherited members.

cache_wangle::LRUPersistentCache< K, V, MutexT >private
clear(bool clearPersistence=false) overridewangle::LRUPersistentCache< K, V, MutexT >inlinevirtual
executor_wangle::LRUPersistentCache< K, V, MutexT >private
executorScheduled_wangle::LRUPersistentCache< K, V, MutexT >private
get(const K &key) overridewangle::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) noexceptwangle::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 typedefwangle::LRUPersistentCache< K, V, MutexT >
put(const K &key, const V &val) overridewangle::LRUPersistentCache< K, V, MutexT >virtual
remove(const K &key) overridewangle::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) noexceptwangle::LRUPersistentCache< K, V, MutexT >private
setSyncOnDestroy(bool syncOnDestroy)wangle::LRUPersistentCache< K, V, MutexT >inline
size() overridewangle::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() overridewangle::LRUPersistentCache< K, V, MutexT >
~PersistentCache()wangle::PersistentCache< K, V >inlinevirtual