Interface ICacheImplementation
Inherited Members
Namespace: Azos.Pile
Assembly: Azos.dll
Syntax
public interface ICacheImplementation : ICache, IDaemon, IDaemonView, IApplicationComponent, INamed, IConfigurable, IInstrumentable, IExternallyParameterized
Properties
DefaultTableOptions
Sets default options for a table which is not found in TableOptions collection. If this property is null then every table assumes the set of constant values defined in Table class
Declaration
TableOptions DefaultTableOptions { get; set; }
Property Value
Type | Description |
---|---|
TableOptions |
PileAllocMode
Defines modes of allocation: space/time tradeoff
Declaration
AllocationMode PileAllocMode { get; set; }
Property Value
Type | Description |
---|---|
AllocationMode |
PileMaxMemoryLimit
Imposes a limit on maximum number of bytes that a pile can allocate of the system heap. The default value of 0 means no limit, meaning - the pile will keep allocating objects until the system allows. If the limit is reached, then the cache will start deleting older objects to releave the memory load even if they are not due for expiration yet
Declaration
long PileMaxMemoryLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
TableOptions
Returns table options - used for table creation
Declaration
Registry<TableOptions> TableOptions { get; }
Property Value
Type | Description |
---|---|
Registry<TableOptions> |