Constructor
new CacheWithLoad(evictPolicy, capacity, maxLoad, eqComparer)
Parameters:
Name | Type | Description |
---|---|---|
evictPolicy |
EvictionPolicy | Number | |
capacity |
Number | |
maxLoad |
Number | The maximum load, expressed as a positive number. |
eqComparer |
EqualityComparer.<TVal> |
- Source:
Members
_dict :Object.<(String|Symbol), CacheItemWithLoad.<T>>
Type:
- Object.<(String|Symbol), CacheItemWithLoad.<T>>
- Source:
Methods
set(load)
Parameters:
Name | Type | Description |
---|---|---|
load |
* |
- Source: