#include <grpc/support/port_platform.h>
#include "src/core/tsi/ssl/session_cache/ssl_session_cache.h"
#include <grpc/support/log.h>
#include <grpc/support/string_util.h>
#include "src/core/lib/gprpp/crash.h"
#include "src/core/lib/gprpp/sync.h"
#include "src/core/lib/slice/slice_internal.h"
#include "src/core/tsi/ssl/session_cache/ssl_session.h"
namespace tsi {
class SslSessionLRUCache::Node { … };
SslSessionLRUCache::SslSessionLRUCache(size_t capacity) : … { … }
SslSessionLRUCache::~SslSessionLRUCache() { … }
size_t SslSessionLRUCache::Size() { … }
SslSessionLRUCache::Node* SslSessionLRUCache::FindLocked(
const std::string& key) { … }
void SslSessionLRUCache::Put(const char* key, SslSessionPtr session) { … }
SslSessionPtr SslSessionLRUCache::Get(const char* key) { … }
void SslSessionLRUCache::Remove(SslSessionLRUCache::Node* node) { … }
void SslSessionLRUCache::PushFront(SslSessionLRUCache::Node* node) { … }
#ifndef NDEBUG
void SslSessionLRUCache::AssertInvariants() { … }
#else
void SslSessionLRUCache::AssertInvariants() {}
#endif
}