rippled
|
Public Member Functions | |
ValueEntry (clock_type::time_point const &last_access_, std::shared_ptr< mapped_type > const &ptr_) | |
bool | isWeak () const |
bool | isCached () const |
bool | isExpired () const |
std::shared_ptr< mapped_type > | lock () |
void | touch (clock_type::time_point const &now) |
Public Attributes | |
std::shared_ptr< mapped_type > | ptr |
std::weak_ptr< mapped_type > | weak_ptr |
clock_type::time_point | last_access |
Definition at line 599 of file TaggedCache.h.
ripple::TaggedCache< Key, T, IsKeyCache, Hash, KeyEqual, Mutex >::ValueEntry::ValueEntry | ( | clock_type::time_point const & | last_access_, |
std::shared_ptr< mapped_type > const & | ptr_ | ||
) |
Definition at line 606 of file TaggedCache.h.
bool ripple::TaggedCache< Key, T, IsKeyCache, Hash, KeyEqual, Mutex >::ValueEntry::isWeak | ( | ) | const |
Definition at line 614 of file TaggedCache.h.
bool ripple::TaggedCache< Key, T, IsKeyCache, Hash, KeyEqual, Mutex >::ValueEntry::isCached | ( | ) | const |
Definition at line 619 of file TaggedCache.h.
bool ripple::TaggedCache< Key, T, IsKeyCache, Hash, KeyEqual, Mutex >::ValueEntry::isExpired | ( | ) | const |
Definition at line 624 of file TaggedCache.h.
std::shared_ptr<mapped_type> ripple::TaggedCache< Key, T, IsKeyCache, Hash, KeyEqual, Mutex >::ValueEntry::lock | ( | ) |
Definition at line 629 of file TaggedCache.h.
void ripple::TaggedCache< Key, T, IsKeyCache, Hash, KeyEqual, Mutex >::ValueEntry::touch | ( | clock_type::time_point const & | now | ) |
Definition at line 634 of file TaggedCache.h.
std::shared_ptr<mapped_type> ripple::TaggedCache< Key, T, IsKeyCache, Hash, KeyEqual, Mutex >::ValueEntry::ptr |
Definition at line 602 of file TaggedCache.h.
std::weak_ptr<mapped_type> ripple::TaggedCache< Key, T, IsKeyCache, Hash, KeyEqual, Mutex >::ValueEntry::weak_ptr |
Definition at line 603 of file TaggedCache.h.
clock_type::time_point ripple::TaggedCache< Key, T, IsKeyCache, Hash, KeyEqual, Mutex >::ValueEntry::last_access |
Definition at line 604 of file TaggedCache.h.