Enumeration constant window enumeration policy.
More...
|
| BasicPolicy (int window, int backlog, int rows) |
| Constructor. More...
|
|
int | NextWindow (long row) |
| Returns the size of the next enumeration window. More...
|
|
void | ForRow (long row, ref long offset, ref int rows) |
| Sets the offset and rows for a subscripting. More...
|
|
|
readonly int | Window |
| The size of the window to use for enumeration.
|
|
readonly int | Backlog |
| The number of previous values (from subscripted row) to keep around.
|
|
readonly int | Rows |
| The number of total rows to get on subscripting.
|
|
Enumeration constant window enumeration policy.
TenTenSDK.BasicPolicy.BasicPolicy |
( |
int |
window, |
|
|
int |
backlog, |
|
|
int |
rows |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
window | How large of a window to use for enumeration. |
backlog | How many previous values (from subscripted row) to keep around. |
rows | How many rows total to get on subscripting. |
int TenTenSDK.BasicPolicy.NextWindow |
( |
long |
row | ) |
|
|
inline |
Returns the size of the next enumeration window.
- Parameters
-
row | The row being indexed by enumeration |
- Returns
- this.Window.
Implements TenTenSDK.IDownloadPolicy.
void TenTenSDK.BasicPolicy.ForRow |
( |
long |
row, |
|
|
ref long |
offset, |
|
|
ref int |
rows |
|
) |
| |
|
inline |
Sets the offset and rows for a subscripting.
- Parameters
-
row | Row being subscripted |
offset | First row downloaded => first row to download: Math.Max(0, row - this.Backlog) |
rows | Number of rows downloaded => number of rows to download: this.Rows |
Implements TenTenSDK.IDownloadPolicy.
The documentation for this class was generated from the following file: