Lean
$LEAN_TAG$
|
Defines a cache for data More...
Public Member Functions | |
Stream | Fetch (string key) |
Fetch data from the cache More... | |
void | Store (string key, byte[] data) |
Store the data in the cache More... | |
List< string > | GetZipEntries (string zipFile) |
Returns a list of zip entries in a provided zip file More... | |
Properties | |
bool | IsDataEphemeral [get] |
Property indicating the data is temporary in nature and should not be cached More... | |
Defines a cache for data
Definition at line 26 of file IDataCacheProvider.cs.
Stream QuantConnect.Interfaces.IDataCacheProvider.Fetch | ( | string | key | ) |
Fetch data from the cache
key | A string representing the key of the cached data |
Implemented in QuantConnect.Lean.Engine.DataFeeds.ZipDataCacheProvider, QuantConnect.Data.DiskDataCacheProvider, and QuantConnect.Lean.Engine.DataFeeds.SingleEntryDataCacheProvider.
void QuantConnect.Interfaces.IDataCacheProvider.Store | ( | string | key, |
byte[] | data | ||
) |
Store the data in the cache
key | The source of the data, used as a key to retrieve data in the cache |
data | The data to cache as a byte array |
Implemented in QuantConnect.Lean.Engine.DataFeeds.ZipDataCacheProvider, QuantConnect.Data.DiskDataCacheProvider, and QuantConnect.Lean.Engine.DataFeeds.SingleEntryDataCacheProvider.
List<string> QuantConnect.Interfaces.IDataCacheProvider.GetZipEntries | ( | string | zipFile | ) |
Returns a list of zip entries in a provided zip file
Implemented in QuantConnect.Lean.Engine.DataFeeds.ZipDataCacheProvider, QuantConnect.Data.DiskDataCacheProvider, and QuantConnect.Lean.Engine.DataFeeds.SingleEntryDataCacheProvider.
|
get |
Property indicating the data is temporary in nature and should not be cached
Definition at line 31 of file IDataCacheProvider.cs.