Interface IPileImplementation
Inherited Members
System.Collections.Generic.IEnumerable<Azos.Pile.PileEntry>.GetEnumerator()
Namespace: Azos.Pile
Assembly: Azos.dll
Syntax
public interface IPileImplementation : IPile, IPileStatus, IEnumerable<PileEntry>, IEnumerable, IDaemon, IDaemonView, IApplicationComponent, INamed, IConfigurable, IInstrumentable, IExternallyParameterized
Properties
AllocMode
Defines modes of allocation: space/time tradeoff
Declaration
AllocationMode AllocMode { get; set; }
Property Value
Type | Description |
---|---|
AllocationMode |
MaxMemoryLimit
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
Declaration
long MaxMemoryLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
MaxSegmentLimit
Gets the maximum count of segments that this pile can have. The property is not thread-safe for set and can only be set if pile is inactive. The value of zero means no limit
Declaration
int MaxSegmentLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SegmentSize
Gets the segment size in bytes, up to (2^31)-1 The property is not thread-safe for set and can only be set if pile is inactive
Declaration
int SegmentSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SweepExpiredObjects
Control whether the instance respects object life spans if they are set
Declaration
bool SweepExpiredObjects { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |