package
2.1.0-beta+incompatible
Repository: https://github.com/darkliquid/tidb.git
Documentation: pkg.go.dev
# Functions
NewShardedLRUCache creates a ShardedLRUCache.
NewSimpleLRUCache creates a SimpleLRUCache object, whose capacity is "capacity".
# Structs
ShardedLRUCache is a sharded LRU Cache, thread safe.
SimpleLRUCache is a simple least recently used cache, not thread-safe, use it carefully.