package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev

# Functions

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

# Constants

ProfileName is the function name in heap profile.

# Variables

GlobalLRUMemUsageTracker tracks all the memory usage of SimpleLRUCache.

# 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.

# Type aliases

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