#include <ssl_session_cache.h>
Definition at line 47 of file ssl_session_cache.h.
◆ SslSessionLRUCache() [1/2]
tsi::SslSessionLRUCache::SslSessionLRUCache |
( |
size_t |
capacity | ) |
|
|
explicit |
◆ ~SslSessionLRUCache()
tsi::SslSessionLRUCache::~SslSessionLRUCache |
( |
| ) |
|
|
override |
◆ SslSessionLRUCache() [2/2]
◆ AssertInvariants()
void tsi::SslSessionLRUCache::AssertInvariants |
( |
| ) |
|
|
private |
◆ Create()
◆ FindLocked()
◆ Get()
Returns the session from the cache associated with key or null if not found.
Definition at line 117 of file ssl_session_cache.cc.
◆ operator=()
◆ PushFront()
◆ Put()
Add session in the cache using key. This operation may discard older sessions.
Definition at line 95 of file ssl_session_cache.cc.
◆ Remove()
◆ Size()
size_t tsi::SslSessionLRUCache::Size |
( |
| ) |
|
◆ capacity_
size_t tsi::SslSessionLRUCache::capacity_ |
|
private |
◆ entry_by_key_
std::map<std::string, Node*> tsi::SslSessionLRUCache::entry_by_key_ |
|
private |
◆ lock_
◆ use_order_list_head_
Node* tsi::SslSessionLRUCache::use_order_list_head_ = nullptr |
|
private |
◆ use_order_list_size_
size_t tsi::SslSessionLRUCache::use_order_list_size_ = 0 |
|
private |
◆ use_order_list_tail_
Node* tsi::SslSessionLRUCache::use_order_list_tail_ = nullptr |
|
private |
The documentation for this class was generated from the following files: