InMemoryCache
Namespace: MBrace.Runtime.Utils
In-Memory caching mechanism using System.Runtime.Caching.MemoryCache
Instance members
Instance member | Description |
Add(key, value)
Signature: (key:string * value:obj) -> bool
|
Try adding a new key to cache. |
ContainsKey(key)
Signature: key:string -> bool
|
Checks if cache contains provided key. |
Delete(key)
Signature: key:string -> bool
|
Delete existing key from cache. |
Get(key)
Signature: key:string -> obj
|
Look up cached entry by key. |
Name
Signature: string
|
Cache instance identifier CompiledName: |
TryFind(key)
Signature: key:string -> obj option
|
Look up cached entry by key. |
Static members
Static member | Description |
Create(...)
Signature: (name:string option * physicalMemoryLimitPercentage:int option * pollingInterval:TimeSpan option) -> InMemoryCache
|
Creates a new in-memory cache instance. |