Interface
ICache

Provides a mechanism for managing the internal cache used by the reporting engine and the viewers.

Definition

Namespace:Telerik.Reporting.Cache.Interfaces

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
public interface ICache

Methods

Clear()

Clears all values and their corresponding keys from the cache.

Declaration

cs-api-definition
void Clear()

GetValue(string)

Retrieves the value with the specified key from the cache.

Declaration

cs-api-definition
byte[] GetValue(string key)

Parameters

key

string

Specifies the key used to identify the value in the cache.

Returns

byte[]

The value with the specified key, or null if no such value exists.

HasValue(string)

Determines if a value with the specified key exists in the cache.

Declaration

cs-api-definition
bool HasValue(string key)

Parameters

key

string

Specifies the key used to identify the value in the cache.

Returns

bool

True - if a value with the specified key exists, False - otherwise.

SetValue(string, byte[])

Stores the specified value with the given key in the cache.

Declaration

cs-api-definition
void SetValue(string key, byte[] value)

Parameters

key

string

Specifies the key used to identify the value in the cache.

value

byte[]

Specifies the value to store in the cache with the given key.