Class DummyCache
Dummy cache. This class does not cache, but forward requests
directly to the miss-function. This is the default for
TuringTrader's data cache.
Assembly: TuringTrader.Simulator.dll
Syntax
public class DummyCache : ICache
Methods
|
Edit this page
View Source
Fetch<T>(string, Func<T>)
Fetch data from cache. Will always call miss function.
Declaration
public T Fetch<T>(string cacheId, Func<T> missFun)
Parameters
Type |
Name |
Description |
string |
cacheId |
|
Func<T> |
missFun |
|
Returns
Type Parameters
Implements