C# Класс Deveel.Data.Client.LocalRowCache

A cache that stores rows retrieved from the server in result set's.
This provides various mechanisms for determining the best rows to pick out that haven't been cached, etc.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Clear ( ) : void

Flushes the complete contents of the cache.

GetResultPart ( int resultId, int rowIndex, int rowCount, int colCount, int totalRowCount ) : QueryResultPart

Requests a block of parts.

If the block can be completely retrieved from the cache then it is done so. Otherwise, it forwards the request for the rows onto the connection object.

LocalRowCache ( DeveelDbConnection connection ) : System

Описание методов

Clear() публичный Метод

Flushes the complete contents of the cache.
public Clear ( ) : void
Результат void

GetResultPart() публичный Метод

Requests a block of parts.
If the block can be completely retrieved from the cache then it is done so. Otherwise, it forwards the request for the rows onto the connection object.
public GetResultPart ( int resultId, int rowIndex, int rowCount, int colCount, int totalRowCount ) : QueryResultPart
resultId int
rowIndex int
rowCount int
colCount int
totalRowCount int
Результат Deveel.Data.Protocol.QueryResultPart

LocalRowCache() публичный Метод

public LocalRowCache ( DeveelDbConnection connection ) : System
connection DeveelDbConnection
Результат System