CarCache.Cache (CarCache v0.1.0) View Source
Data structure representing an CAR cache.
Link to this section Summary
Link to this section Types
Specs
t() :: %CarCache.Cache{
b1: CarCache.LRU.t(),
b2: CarCache.LRU.t(),
c: non_neg_integer(),
data: :ets.tid(),
name: atom(),
p: non_neg_integer(),
t1: CarCache.Clock.t(),
t2: CarCache.Clock.t()
}
Link to this section Functions
Specs
Get an item from the cache
Create a new Cache data structure
Specs
Insert an item in the cache