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.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
IEvictionStrategy<TKey, TValue> CreateSegmentEvictionStrategy<TKey, TValue>( int segmentIndex, int totalSegments )
Function CreateSegmentEvictionStrategy(Of TKey, TValue) ( _ segmentIndex As Integer, _ totalSegments As Integer _ ) As IEvictionStrategy(Of TKey, TValue)
generic<typename TKey, typename TValue> IEvictionStrategy<TKey, TValue>^ CreateSegmentEvictionStrategy( int segmentIndex, int totalSegments )
Generic Template Parameters
- TKey
- Type of key.
- TValue
- Type of value.
Return Value
Instance of IEvictionStrategy<(Of <(TKey, TValue>)>).