MBrace.Runtime


FileStoreCache

Namespace: MBrace.Runtime.Store

File store caching facility

Instance members

Instance memberDescription
BeginReadCached(path)
Signature: path:string -> Async<Stream>

Begins reading a cached copy of the stored file. If file does not exist in local cache it will be downloaded before reading begins.

CacheContainer
Signature: string

Cache container in local store.

CompiledName: get_CacheContainer

CacheStore
Signature: ICloudFileStore

Local caching store in current machine.

CompiledName: get_CacheStore

SourceStore
Signature: ICloudFileStore

Source store to be cached.

CompiledName: get_SourceStore

Static members

Static memberDescription
Create(...)
Signature: (target:ICloudFileStore * localCacheStore:ICloudFileStore * localCacheContainer:string option) -> FileStoreCache

Wraps a file store instance in an instance that caches files to a cloud file store.

Fork me on GitHub