drogon
C++14/17-based HTTP application framework
Loading...
Searching...
No Matches
CacheMap.h File Reference
#include <trantor/net/EventLoop.h>
#include <trantor/utils/Logger.h>
#include <atomic>
#include <deque>
#include <map>
#include <mutex>
#include <set>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include <future>
#include <assert.h>
Include dependency graph for CacheMap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  drogon::CallbackEntry
 A utility class for CacheMap. More...
class  drogon::CacheMap< T1, T2 >
 Cache Map. More...
struct  drogon::CacheMap< T1, T2 >::MapValue

Namespaces

namespace  drogon
 Drogon Test is a minimal effort test framework developed because the major C++ test frameworks doesn't handle async programs well. Drogon Test's syntax is inspired by both Google Test and Catch2.

Macros

#define WHEELS_NUM   4
#define BUCKET_NUM_PER_WHEEL   200
#define TICK_INTERVAL   1.0

Typedefs

using drogon::CallbackEntryPtr = std::shared_ptr<CallbackEntry>
using drogon::WeakCallbackEntryPtr = std::weak_ptr<CallbackEntry>
using drogon::CallbackBucket = std::unordered_set<CallbackEntryPtr>
using drogon::CallbackBucketQueue = std::deque<CallbackBucket>

Detailed Description

An Tao

Copyright 2018, An Tao. All rights reserved. https://github.com/an-tao/drogon Use of this source code is governed by a MIT license that can be found in the License file.

Drogon