Cache<'Key, 'Value> Type
Constructors
| Constructor |
Description
|
Full Usage:
Cache(options, ?name)
Parameters:
CacheOptions<'Key>
?name : string
Returns: Cache<'Key, 'Value>
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.AddOrUpdate
Parameters:
'Key
value : 'Value
|
|
|
For testing only. Creates a local telemetry listener for this cache instance.
|
Full Usage:
this.Evicted
Returns: IEvent<unit>
|
For testing only.
|
Full Usage:
this.EvictionFailed
Returns: IEvent<unit>
|
For testing only.
|
Full Usage:
this.GetOrAdd
Parameters:
'Key
valueFactory : 'Key -> 'Value
Returns: 'Value
|
|
Full Usage:
this.TryAdd
Parameters:
'Key
value : 'Value
Returns: bool
|
|
Full Usage:
this.TryGetValue
Parameters:
'Key
value : outref<'Value>
Returns: bool
|
|
fantomas