Class TableOptions
Provides config options for cache tables
Inheritance
System.Object
TableOptions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Azos.Data.Access.Cache
Assembly: Azos.dll
Syntax
public sealed class TableOptions : INamed, IConfigurable
Constructors
TableOptions(String, TableCapacity, Int32, Int32, Boolean)
Declaration
public TableOptions(string name, TableCapacity capacity, int lockCount = 0, int maxAgeSec = 0, bool parallelSweep = false)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
TableCapacity | capacity | |
System.Int32 | lockCount | |
System.Int32 | maxAgeSec | |
System.Boolean | parallelSweep |
TableOptions(String, Int32, Int32, Int32, Int32, Boolean)
Declaration
public TableOptions(string name, int bucketCount, int recPerPage, int lockCount = 0, int maxAgeSec = 0, bool parallelSweep = false)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Int32 | bucketCount | |
System.Int32 | recPerPage | |
System.Int32 | lockCount | |
System.Int32 | maxAgeSec | |
System.Boolean | parallelSweep |
Properties
BucketCount
Declaration
public int BucketCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
LockCount
Declaration
public int LockCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxAgeSec
Declaration
public int MaxAgeSec { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
ParallelSweep
Declaration
public bool ParallelSweep { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
RecPerPage
Declaration
public int RecPerPage { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Explicit Interface Implementations
IConfigurable.Configure(IConfigSectionNode)
Declaration
void IConfigurable.Configure(IConfigSectionNode node)
Parameters
Type | Name | Description |
---|---|---|
IConfigSectionNode | node |