ocean v6.2.0 (2021-12-09T10:56:40Z)
Home
Dub
Repo
PriorityCache.this
ocean
util
container
cache
PriorityCache
PriorityCache
Constructor.
class
PriorityCache
(T)
this
(
size_t
max_items
)
Parameters
max_items
size_t
maximum number of items in the cache, set once, cannot be changed
Meta
Source
See Implementation
ocean
util
container
cache
PriorityCache
PriorityCache
aliases
ForeachDg
constructors
this
functions
clear
exists
get
getHighestPriorityItem
getLowestPriorityItem
getOrCreate
getPriority
getUpdateOrCreate
itemDropped
length
max_length
num_lookups
num_misses
opApply
opApplyReverse
remove
resetStats
updatePriority
whenNewAndLeastPriority
structs
CacheItem
variables
n_lookups
n_misses
Constructor.