Class BlockCache
Assembly: ZoneTree.dll
Syntax
public sealed class BlockCache
Fields
|
Improve this Doc
View Source
Table
Declaration
public readonly ConcurrentDictionary<int, DecompressedBlock> Table
Field Value
Properties
|
Improve this Doc
View Source
Count
Declaration
public int Count { get; }
Property Value
Methods
|
Improve this Doc
View Source
AddBlock(DecompressedBlock)
Declaration
public void AddBlock(DecompressedBlock block)
Parameters
|
Improve this Doc
View Source
Clear()
Declaration
|
Improve this Doc
View Source
RemoveBlock(int)
Declaration
public void RemoveBlock(int blockIndex)
Parameters
Type |
Name |
Description |
int |
blockIndex |
|
|
Improve this Doc
View Source
RemoveBlocksAccessedBefore(long)
Declaration
public int RemoveBlocksAccessedBefore(long ticks)
Parameters
Type |
Name |
Description |
long |
ticks |
|
Returns
|
Improve this Doc
View Source
TryGetBlock(int, out DecompressedBlock)
Declaration
public bool TryGetBlock(int blockIndex, out DecompressedBlock block)
Parameters
Returns