ocean ~v6.x.x (2022-01-14T16:08:36.1174149)
Dub
Repo
PriorityCache.max_length
ocean
util
container
cache
PriorityCache
PriorityCache
class
PriorityCache
(T)
size_t
max_length
(
)
Return Value
Type:
size_t
the maximum number of items the cache can have.
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