LoadingCache
Classes
- Record
- LoadingCache
Asynchronous cache capable of resolving its own values by keys Modelled on Guava's LoadingCache concept
Constants
- DEFAULT_TIME_TO_LIVE :
number
In seconds
Functions
- record_get_value_weight(record) ⇒
number
Record
Kind: global class
new Record(value, time)
Param | Type |
---|---|
value | R |
time | number |
DEFAULT_TIME_TO_LIVE : number
In seconds
Kind: global constant
Read only: true
record_get_value_weight(record) ⇒ number
Kind: global function
Param | Type |
---|---|
record | Record.<T> |