ModErn Text Analysis
META Enumerates Textual Applications
Classes | Namespaces | Typedefs
shard_cache.h File Reference
#include <mutex>
#include <vector>
#include "caching/dblru_cache.h"
#include "caching/splay_cache.h"
#include "util/optional.h"
#include "caching/shard_cache.tcc"

Go to the source code of this file.

Classes

class  meta::caching::generic_shard_cache< Key, Value, Map >
 A simple sharding-based approach for increasing concurrency within a cache. More...
 

Namespaces

 meta
 The ModErn Text Analysis toolkit is a suite of natural language processing, classification, information retreival, data mining, and other applications of text processing.
 
 meta::caching
 Containers to be used for caching purposes.
 

Typedefs

template<class Key , class Value >
using meta::caching::splay_shard_cache = generic_shard_cache< Key, Value, splay_cache >
 A sharding cache that uses splay_caches as the internal map.
 
template<class Key , class Value >
using meta::caching::dblru_shard_cache = generic_shard_cache< Key, Value, default_dblru_cache >
 A sharding cache that uses a default_dblru_cache as the internal map.
 

Detailed Description

Author
Chase Geigle

All files in META are dual-licensed under the MIT and NCSA licenses. For more details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the project.