package
2.1.0-rc.2+incompatible
Repository: https://github.com/coderushing/tidb.git
Documentation: pkg.go.dev

# Functions

NewSimpleLRUCache creates a SimpleLRUCache object, whose capacity is "capacity".

# Structs

SimpleLRUCache is a simple least recently used cache, not thread-safe, use it carefully.

# Interfaces

Key is the interface that every key in LRU Cache should implement.
Value is the interface that every value in LRU Cache should implement.