Construct a builder
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
public TimeBasedSegmentEvictionStrategyBuilder( TimeSpan timeToLive, TimeSpan periodicClearTime )
Public Sub New ( _ timeToLive As TimeSpan, _ periodicClearTime As TimeSpan _ )
public: TimeBasedSegmentEvictionStrategyBuilder( TimeSpan timeToLive, TimeSpan periodicClearTime )
public TimeBasedSegmentEvictionStrategyBuilder( TimeSpan timeToLive, TimeSpan periodicClearTime )
Parameters
- timeToLive (TimeSpan)
- Specifies how much an untouched entry remains in the local cache.
- periodicClearTime (TimeSpan)
- Timespan between preiodic cache clears, each time this time span passes the local cache will be cleared