proxygen
|
#include <Mocks.h>
Public Member Functions | |
MOCK_METHOD1_T (get, folly::Optional< V >(const K &)) | |
MOCK_METHOD2_T (put, void(const K &, const V &)) | |
MOCK_METHOD1_T (remove, bool(const K &)) | |
MOCK_METHOD1_T (clear, void(bool)) | |
MOCK_METHOD0_T (size, size_t()) | |
Public Member Functions inherited from wangle::PersistentCache< K, V > | |
virtual | ~PersistentCache () |
virtual folly::Optional< V > | get (const K &key)=0 |
virtual void | put (const K &key, const V &val)=0 |
virtual bool | remove (const K &key)=0 |
virtual void | clear (bool clearPersistence=false)=0 |
virtual size_t | size ()=0 |
wangle::MockPersistentCache< K, V >::MOCK_METHOD0_T | ( | size | , |
size_t() | |||
) |
wangle::MockPersistentCache< K, V >::MOCK_METHOD1_T | ( | get | , |
folly::Optional< V > | const K & | ||
) |
wangle::MockPersistentCache< K, V >::MOCK_METHOD1_T | ( | remove | , |
bool(const K &) | |||
) |
wangle::MockPersistentCache< K, V >::MOCK_METHOD1_T | ( | clear | , |
void(bool) | |||
) |
wangle::MockPersistentCache< K, V >::MOCK_METHOD2_T | ( | put | , |
void(const K &, const V &) | |||
) |