ChronologicalEvictionStrategy
class
Namespace: Orleans.Providers.Streams.Common
Eviction strategy that evicts data based off of age.
public class ChronologicalEvictionStrategy : IEvictionStrategyConstructors
ChronologicalEvictionStrategy(ILogger, TimePurgePredicate, ICacheMonitor, TimeSpan?)Initializes a new instance of theChronologicalEvictionStrategyclass.
Properties
OnPurgedGets or sets the method which will be called when purge is finished.PurgeObservableGets theIPurgeObservable, which is implemented by the cache to do purge related actions and invoked by the eviction strategy.
Methods
OnBlockAllocated(FixedSizeBuffer)Method which should be called when data adapter allocated a new blockPerformPurge(DateTime)Method which should be called when pulling agent try to do a purge on the cache
