This API is preliminary and subject to change.
Provider an interface to build IEvictionStrategy<(Of <(TKey, TValue>)>) per segment of the ILocalCache storage.
Each instance of the eviction strategy will only be aware and in charge of evicting from a certain segment of the cache.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
public interface ISegmentEvictionStrategyBuilder
Public Interface ISegmentEvictionStrategyBuilder
public interface class ISegmentEvictionStrategyBuilder
public interface ISegmentEvictionStrategyBuilder
Members
All Members | Methods | ||||
Icon | Member | Description |
---|---|---|
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.
|
See Also