Class MemoryEventStorageSpi
In-memory event storage.
Inheritance
System.Object
MemoryEventStorageSpi
Implements
Namespace: Apache.Ignite.Core.Events
Assembly: Apache.Ignite.Core.dll
Syntax
public class MemoryEventStorageSpi : object, IEventStorageSpi
Constructors
MemoryEventStorageSpi()
Initializes a new instance of the MemoryEventStorageSpi class.
Declaration
public MemoryEventStorageSpi()
Fields
DefaultExpirationTimeout
The default expiration timeout.
Declaration
public static readonly TimeSpan DefaultExpirationTimeout
Field Value
Type | Description |
---|---|
TimeSpan |
DefaultMaxEventCount
Default event count limit.
Declaration
public const long DefaultMaxEventCount = null
Field Value
Type | Description |
---|---|
System.Int64 |
Properties
ExpirationTimeout
Gets or sets the expiration timeout for stored events. Negative value means no expiration. Defaults to -1 second.
Declaration
public TimeSpan ExpirationTimeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
MaxEventCount
Gets or sets the maximum event count to store. When this limit is reached, older events are removed. Defaults to DefaultMaxEventCount.
Declaration
public long MaxEventCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |