Interface ICacheTable
Inherited Members
Namespace: Azos.Pile
Assembly: Azos.dll
Syntax
public interface ICacheTable : INamed
Properties
Cache
References cache that this table is under
Declaration
ICache Cache { get; }
Property Value
| Type | Description |
|---|---|
| ICache |
Capacity
Returns how many slots/entries allocated in a table
Declaration
long Capacity { get; }
Property Value
| Type | Description |
|---|---|
| System.Int64 |
CollisionMode
Determines how this instance handles collisions. This property can not be changed after the table was created from TableOptions. Changing CollisionMode in TableOptions has no effect on this property after creation
Declaration
CollisionMode CollisionMode { get; }
Property Value
| Type | Description |
|---|---|
| CollisionMode |
Count
Returns how many records are kept in a table
Declaration
long Count { get; }
Property Value
| Type | Description |
|---|---|
| System.Int64 |
LoadFactor
Returns the percentage of occupied table slots. When this number exceeds high-water-mark threshold the table is grown, otheriwse if the number falls below the low-water-mark level then the table is shrunk
Declaration
double LoadFactor { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Options
Cache table options in effect
Declaration
TableOptions Options { get; }
Property Value
| Type | Description |
|---|---|
| TableOptions |
Methods
Purge()
Removes all data from table
Declaration
void Purge()