Time based eviction strategy builder, an entry is evicted if it has not been accessed for the specified time.
| C# | Visual Basic | Visual C++ | J# |
public class TimeBasedSegmentEvictionStrategyBuilder : PeriodicClearSegmentEvictionStrategyBuilder, ISegmentEvictionStrategyBuilder
Public Class TimeBasedSegmentEvictionStrategyBuilder _ Inherits PeriodicClearSegmentEvictionStrategyBuilder _ Implements ISegmentEvictionStrategyBuilder
public ref class TimeBasedSegmentEvictionStrategyBuilder : public PeriodicClearSegmentEvictionStrategyBuilder, ISegmentEvictionStrategyBuilder
public class TimeBasedSegmentEvictionStrategyBuilder extends PeriodicClearSegmentEvictionStrategyBuilder implements ISegmentEvictionStrategyBuilder
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| TimeBasedSegmentEvictionStrategyBuilder(TimeSpan, TimeSpan) |
Construct a builder
| |
| TimeBasedSegmentEvictionStrategyBuilder(TimeSpan) |
Construct a builder
| |
| TimeBasedSegmentEvictionStrategyBuilder(TimeSpan, Boolean) |
Construct a builder
| |
| CreateSegmentEvictionStrategy<(Of <(TKey, TValue>)>)(Int32, Int32) |
Create a instance of IEvictionStrategy<(Of <(TKey, TValue>)>), each segment of the storage will
call this method upon construction. This method will be called according to the supplied numberOfSegments parameter times.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| PeriodicClearTimer |
Get the timer that will raise the periodic clear event
(Inherited from PeriodicClearSegmentEvictionStrategyBuilder.) | |
| ToString()()() | (Inherited from Object.) |
| Object | ||
| PeriodicClearSegmentEvictionStrategyBuilder | ||
| TimeBasedSegmentEvictionStrategyBuilder | ||
