Table of Contents

Class RemoteStorageCache

Namespace
StockSharp.Algo.Storages.Remote
Assembly
StockSharp.Algo.dll
public class RemoteStorageCache
Inheritance
RemoteStorageCache
Inherited Members
Extension Methods

Constructors

RemoteStorageCache(TimeSpan)

Initializes a new instance of the RemoteStorageCache.

public RemoteStorageCache(TimeSpan timeout)

Parameters

timeout TimeSpan

Cache expiration timeout.

Methods

Set(object, Message[])

Store values into cache.

public void Set(object key, Message[] messages)

Parameters

key object

Cache key.

messages Message[]

Messages.

TryGet(object, out Message[])

Try load values from cache.

public bool TryGet(object key, out Message[] messages)

Parameters

key object

Cache key.

messages Message[]

Messages.

Returns

bool

Operation result.